Listeners not working for dialog used in Dialog participant step in workflow.
Hi,
We have a requirement, in a workflow, having a dialog participant step, the custom dialog contains a datepicker field on which we need to set a future date based on some condition.
For this, I created a clientlib with category as cq.authoring.dialog, and in the js file, have written the logic for setting the value, but this does not work, if I click complete on the particular dialog participant step when I am executing the workflow on the page.
If the use the same dialog, inside a component and drag drop the component on a page, it works fine. My date is set to the future date.
Can anyone help on how to use listeners for a dialog used in a dialog participant step ?
We are using AEM 6.4.
Thanks in advance,
Ankush Dhingra