Dialog Participant Step in Workflow in AEM

Normally, we use Dialog Participant Step to collect the small amount of data from the  user who is assigned to the workitem. We collect this information through dialog and this data is used later in the workflow. On the basis of this data we can perform some actions.

Dialog Participant Step – Configuration

Common Tab : 

  • In this tab, the following properties will be display : 
  • Title  – Give the title of the step.
  • Description – Give the small description for the step
  • Workflow Stage – Here we select the stage of workflow.

When the workflow is run, the user can view the progress according to the Stage names (like – Start, Review, Approve, Complete).

Note : Firstly we need to add the stages in workflow model properties.

  • Timeout – It is the time after which the step will “timed out” automatically.
  • Timeout Handler – It defines what will happen when the workflow is timed out. (We need to select a script or process step here)

User/Group Tab :

  • In this tab, we need to give a User or Group name, to which we want to assign the current work item.

Dialog Tab :

  • In this tab, we need to give the path of dialog, through which we want to collect the information from the assignee.

For example, I create a dialog with a dropdown (With two values approve or reject) : 

And give this dropdown, name as ./jcr:content/isApproved.

This dialog will be appear when assignee try to complete its workitem.

Now there is a question, where the values of this dialog will be stored ?

The values of this dialog will be store at jcr:content node of payload.

By Shadan