Highlighted

Storing User input Value from Dynamic Participant Step And Using it for page activation

rohits64600205

14-03-2018

Hi,

I am developing a workflow for scheduled activation which have a dynamic participant step and it has a custom field for choosing the time for activation. How can I store the user specified time and then activate the page at that time.

Replies

Highlighted

Rima_Mittal

14-03-2018

Hi,

This requires using a Sling scheduler to start the activation job depending on the time entered via the workflow participant step.

Please refer CQ Scheduling Basics - Blog - 6D Global where it talks about the 'fireJobAt' method.

Also, to see how to read the values from dialog participant step, please refer Dialog Participant Step at Workflow Step Reference

Highlighted

smacdonald2008

14-03-2018

A Dynamic Participant Step dynamically assigns a given workflow task to a user.

To make this clear - please post a pic of your workflow model.

Highlighted

rohits64600205

14-03-2018

In dialog participant Step I am assigning a participant as well as having a dialog of date picker. Participant assigned in this dialog step need to choose a date which will schedule the activation of the date provided by the participant.  Attaching the workflow model. In the second dynamic participant group I am adding a dialog.

wfmodel.PNG

Highlighted

rohits64600205

14-03-2018

Can't It be done through workflow process step? I found this step somewhat easier Scheduled activation with workflows – Adobe AEM Club  but not sure how we will read the value of dialog in process step. Can you please give me some code reference?