Posted: 5 May 2015 3:36 EDT Last activity: 11 Jul 2017 1:40 EDT
Modal Dialogue on click of Submit!!
When user clicks on Submit in a flow action , it should open a modal dialogue with Ok and Cancel buttons before actually submitting. And when user clicks on OK, it should submit the flow action , otherwise on click of Cancel, it should do nothing.Do we have any OOTB functionality to achieve this?
Thanks for the reply. I know how to use a modal dialogue on a button click.But, I am looking for OOTB section which has only OK and Cancel buttons with a warning message, so , on click of OK , it should do the action and on Cancel, should not perform.
for e.g when you try to close a work item with changes that have not been saved, you get a warning message in a pop-up saying "Changes have not been saved, are you sure you want to close" with Ok and Cancel buttons.
You can use pyModalTemplate/pzModalTemplate section which are Pega OTB section. Save the section in your own application ruleset. This will full fill your first requirement for having a modal dialog with Ok and Cancel button.
For the other part, you can call Finish Assignment on the click of OK. and In the Post Activity for your local action, you can fire the validation which you want to show.