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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to enable Handle advance option in 'Goto Step' in AEM workflow

thatsmeadarsh
Level 3
Level 3

I am trying to enable the Handle advance option in the Goto Step but when I try to add this in the workflow it is adding the property PROPERTY_AUTO_ADVANCE as "false" by default. I modified the value to "true" and synched the workflow but still it is not working and Goto step is waiting for a confirmation to proceed.

1 Accepted Solution
thatsmeadarsh
Correct answer by
Level 3
Level 3

Thanks all for the support, I achieved this by providing Timeout immediate and timeout handler as Absolute Timeout Advancer.

View solution in original post

6 Replies
lukaszm
Level 5
Level 5

Hi @thatsmeadarsh, did you defined ECMA script or Rule Definition. This determines if GoTo will proceed or not. I do not think you should change PROPERTY_AUTO_ADVANCE manually for this specific step.

 

Have a look into the documentation [1]

[1] - https://experienceleague.adobe.com/docs/experience-manager-65/developing/extending-aem/extending-wor...

thatsmeadarsh
Level 3
Level 3

Hi @lukaszm 

I have already included the ECMA script below

function check(){
return true;
}

Still it is waiting for user validation to proceed.

 

Thanks

thatsmeadarsh
Level 3
Level 3

Screenshot 2021-10-18 at 1.55.52 PM.png

 

I want to apply the Goto step to 'first' without user needs to click ok from the inbox.

thatsmeadarsh
Level 3
Level 3

I identified the culprit, I am using a Dynamic Participant step just before the Goto Step. This is the reason why handler advance is not working. Now I am trying to find ways to fix this.

Thanks

thatsmeadarsh
Correct answer by
Level 3
Level 3

Thanks all for the support, I achieved this by providing Timeout immediate and timeout handler as Absolute Timeout Advancer.

View solution in original post