Hi Experts,
We have a situation in which a launcher should invoke a particular workflow only if couple of conditions are satisfied. To be specific, the launcher will launch a workflow iff the node has couple of properties set to true.
This means in the launcher configuration i need to verify weather it is true or not. But in the conditions textbox i am not sure how to use the && operator.
For example i tried with isDefault==true && isAdded==true but eventually it did not work. The launcher works fine with single condition.
So please let me know if it is possible to use a multiple conditions in launcher config and if so then how?
Thanks,
Jai
Solved! Go to Solution.
Views
Replies
Total Likes
There is one you way you can try to go for:
Have a third property name 'workflowCondition'
Value for this will final result of above two properties.
If isDefault==true && isAdded==true
workflowCondition = true
If isDefault==true && isAdded==false
workflowCondition = false
But you need to make sure you update third property everytime other 2 are updated, else it might create trouble for you.
Thanks
Refer [1]
According to this article, only 1 condition is allowed per launcher. Please raise a support ticket and see if they have any work arounds for the same https://daycare.day.com/home/createaticket.html
[1] https://helpx.adobe.com/experience-manager/kb/ConditionsInWorkflowLauncher.html
There is one you way you can try to go for:
Have a third property name 'workflowCondition'
Value for this will final result of above two properties.
If isDefault==true && isAdded==true
workflowCondition = true
If isDefault==true && isAdded==false
workflowCondition = false
But you need to make sure you update third property everytime other 2 are updated, else it might create trouble for you.
Thanks
Later versions of AEM allow multiple conditions to be added to list when you use the Launcher configuration in Touch UI.
But you could try the following, as this is how it is constructed when you add multiple conditions in touch ui:
(condition 1) && (condition 2)
Later versions of AEM allow multiple conditions to be added to list when you use the Launcher configuration in Touch UI.
But you could try the following, as this is how it is constructed when you add multiple conditions in touch ui:
(condition 1) && (condition 2)
Views
Likes
Replies