How to enable Handle advance option in 'Goto Step' in AEM workflow | Community
Skip to main content
thatsmeadarsh
Level 3
Oct 18, 2021 7:25 AM UTC
Solved

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

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
thatsmeadarsh
thatsmeadarshAccepted solution
Level 3
Oct 19, 2021 2:23 AM UTC

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

6 replies

Ankur_Khare
New Participant
Oct 18, 2021 12:58 PM UTC
thatsmeadarsh
Level 3
Oct 18, 2021 2:08 PM UTC

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

Translate
thatsmeadarsh
thatsmeadarshAuthorAccepted solution
Level 3
Oct 19, 2021 2:23 AM UTC

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

Translate
lukasz-m
New Participant
Oct 18, 2021 8:15 AM UTC

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-workflows/workflows-step-ref.html?lang=en#goto-step

Translate
thatsmeadarsh
Level 3
Oct 18, 2021 8:24 AM UTC

Hi @lukasz-m 

I have already included the ECMA script below

function check(){
return true;
}

Still it is waiting for user validation to proceed.

 

Thanks

Translate
thatsmeadarsh
Level 3
Oct 18, 2021 8:31 AM UTC

 

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

Translate