Working Principle of OOTB Scheduled Activation Workflow | Community
Skip to main content
Level 2
July 19, 2022

Working Principle of OOTB Scheduled Activation Workflow

  • July 19, 2022
  • 2 replies
  • 1341 views

We are trying to understand the working principle of OOTB Scheduled Activation Workflow. Actually we are not clear how Adobe has implemented "Waiting for Activation" block.

Workflow: /libs/settings/workflow/models/scheduled_activation

If some useful documents could be shared, it would be very helpful for us to understand it.

 

When we see "Waiting for Activation" participant step in the workflow, we don't see any timeout related logic here.

 

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

2 replies

Community Advisor
July 19, 2022

I am able to see  "AbsoluteTimeAutoAdvancer" as timeout handler here, /libs/settings/workflow/models/scheduled_activation/jcr:content/flow/participant/metaData. The Absolute Time Auto Advancer times outs and advances to the next step automatically (which is the Activate Page step) at the selected date/time.

 

 

Level 2
July 20, 2022

Hi @ganthira1 

 

Thanks for your response.

 

But I could not understand how & where the Activation Date & Time provided by Workflow Initiator is getting used. How the system will understand the scheduled time is reached. When there is timeout 0, how the Absolute Time Auto Advancer is advancing to the next step i.e., Activation Step.

 

If you can help me to understand this topic, it would be very helpful.

Community Advisor
July 20, 2022

Hi @s_k_agarwal 

 

The Scheduled activation workflow details can be found under "/var/workflow/instances/"

Here is the sample screenshot, the "absoluteTime" property will hold the activation date & time.

cq:waitingToAdvance will be true until page activation.

 

 

Hope it helps !

Jagadeesh_Prakash
Community Advisor
Community Advisor
July 19, 2022

@s_k_agarwal 

 

The publish workflow publish later will wait in the /var/workflow location for the page to publish. It is same as 'activate now'  Please refer to below links

 

There should be a system user with necessary permisions to trigger the publish event on time.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/publish-later-error-not-enough-rights-to-manage-publications/td-p/324308

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/activation-wf-stuck-in-waiting-for-activation-step/m-p/384064#M12403