Unable to Finish Assignment and complete Flow
SummaryUser has requirement to launch a local action as modal dialog, on clicking a button.Which indeed calls a flow action.
In the flow action's section "pxModalButtonSubmit" control button is used.
"pxModalButtonSubmit" control has a inherited action "Run-Script" for click event to finish the modal dialog. As in the screenshot a data-transform is configured to run first but instead the script is running first and finishing the assignment upon clicking the button at run time
Error MessagesNot Applicable
Steps to Reproduce1.Create a button control "pxModalButtonSubmit".
2.Configure a click action to Run-DataTransform."pxModalButtonSubmit" control has a inherited action "Run-Script" for click event.Now at run time if we click on button the 2nd action "Run-Script" is executed first.
"pxModalButtonSubmit" control inherited action has the priority over other action sets configured on it.
ResolutionUser is suggested not to use pxModalButtonSubmit control instead asked to create a button and configure the click event actions in the following order:
2. "Run-Script" which uses "doModalAction" function to finish the modal dialog.
Published April 4, 2017 - Updated May 2, 2017