Expand my Community achievements bar.

SOLVED

Opening a disclaimer box before starting a workflow in AEM 6.3

Avatar

Level 3

Hi,

I want to show a disclaimer box after author selects the Workflow Model and click on Start Workflow. It will be a disclaimer box with text like "Do you really want to start workflow". It will have yes or nor button , if author clicks on yes then workflow will be started and if he clicks no then workflow will not start.

Can anyone help me int his. Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 8

Overlay /libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js and go to line number 856 and add your custom disclaimer code here dialog.on("beforesubmit", function(){admin.mask();});

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

Overlay /libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js and go to line number 856 and add your custom disclaimer code here dialog.on("beforesubmit", function(){admin.mask();});