Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Multiple conditions in workflow launcher

Avatar

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 3
Jai1122
Level 3

Likes

21 likes

Total Posts

127 posts

Correct Reply

2 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Jai1122
Level 3

24-03-2016

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

276 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

276 likes

Total Posts

1,502 posts

Correct Reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

24-03-2016

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

Answers (3)

Answers (3)

Avatar

Avatar
Applaud 5
Level 3
anjali_biddanda
Level 3

Likes

23 likes

Total Posts

88 posts

Correct Reply

8 solutions
Top badges earned
Applaud 5
Give Back 10
Ignite 1
Validate 10
Validate 1
View profile

Avatar
Applaud 5
Level 3
anjali_biddanda
Level 3

Likes

23 likes

Total Posts

88 posts

Correct Reply

8 solutions
Top badges earned
Applaud 5
Give Back 10
Ignite 1
Validate 10
Validate 1
View profile
anjali_biddanda
Level 3

21-09-2020

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)

Avatar

Avatar
Applaud 5
Level 3
anjali_biddanda
Level 3

Likes

23 likes

Total Posts

88 posts

Correct Reply

8 solutions
Top badges earned
Applaud 5
Give Back 10
Ignite 1
Validate 10
Validate 1
View profile

Avatar
Applaud 5
Level 3
anjali_biddanda
Level 3

Likes

23 likes

Total Posts

88 posts

Correct Reply

8 solutions
Top badges earned
Applaud 5
Give Back 10
Ignite 1
Validate 10
Validate 1
View profile
anjali_biddanda
Level 3

21-09-2020

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)

Avatar

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
MVP
bsloki
MVP

Likes

182 likes

Total Posts

1,859 posts

Correct Reply

545 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
bsloki
MVP

24-03-2016

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