Participant Step does not Timeout and Auto Advance | Community
Skip to main content
marissaw9851252
October 16, 2015
Solved

Participant Step does not Timeout and Auto Advance

  • October 16, 2015
  • 10 replies
  • 3996 views

I have a Participant step in a workflow that has the Timeout set to 24h and the Timeout Handler set to Auto Advancer.  After 24 hours have passed, the workflow does not auto advance to the next step.  I need this to auto-advance to the default branch of an or split.  When using the immediate option, it did auto advance to the first step in the default branch of the or split.

I originally thought the or split was the issue, but I took it out and it still isn't working in a simple workflow where it is just supposed to auto advance to another Participant step with no or split.  

Should the timeout setting be set differently?  I was going off of this documentation: https://docs.adobe.com/docs/en/aem/6-1/develop/extending/workflows/wf-ref.html#Participant Step

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

Sorry.. its 'Absolute Time Auto Advancer' which is on the top of the dropdown in your screenshot

10 replies

Lokesh_Shivalingaiah
October 16, 2015

In the document it says

"This process automatically advances the workflow to the next step. If there is more than one possible next step (for example, if there is an OR split) then this process will advance the workflow along the default route, if one has been specified, otherwise the workflow will not be advanced."

So please make sure you have specified a default route in your workflow !!!

Adobe Employee
October 16, 2015

Hi,

Did you set a Timeout Handler value?  In order for the timeout dropdown to work you must specify the following handler:  "Absolute Time Auto Advancer".

Also if you specify this timeout handler you can specify the timeout date dynamically.  To do this specify a workflow metadata value for the key "absoluteTime".  Set the value as a long representation of a date in the future, usually obtained from Calendar.getTimeInMillis() 

Hope this helps,

Will

marissaw9851252
October 16, 2015

I set the Timeout Handler to Auto Advancer.  Based on this documentation: https://docs.adobe.com/docs/en/aem/6-1/develop/extending/workflows/wf-ref.html#Participant Step, I thought that this would auto advance the step after the duration I set in the Timeout field.  Is this not correct?

marissaw9851252
October 16, 2015

I did specify the default route and it worked when the timeout was set to Immediate.

I ran another on test on a workflow that did not have an or split and it did not work with the timeout setting of 24h and the timeout handler of Auto Advancer.

In case it matters, I am using AEM 6.1.

Lokesh_Shivalingaiah
October 16, 2015

It didnt work either for me, I am trying to see what is there in AutoAdvancer meanwhile as @will mentioned, do you want to try to Advance Time Auto Advancer

marissaw9851252
October 16, 2015

If I need to use the Absolute Time Auto Advancer, I can create a step that sets the absolute time for 24 hours in the future, but based on the documentation it seemed like using the Auto Advancer and setting the Timeout should work.

Lokesh_Shivalingaiah
October 16, 2015

Hi, 

For your use case please use 'Advance Time Auto Advancer' handler instead of 'Auto Advance' and set the time required as 24hrs. It works I have tested it on AEM 6.1.

marissaw9851252
October 16, 2015

I don't see that in the Timeout Handler dropdown.  I've attached a screenshot.

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
October 16, 2015

Sorry.. its 'Absolute Time Auto Advancer' which is on the top of the dropdown in your screenshot

marissaw9851252
October 16, 2015

Thanks.  This worked.  Someone should update the Adobe documentation.