Posted: 3 Mar 2016 12:52 EST Last activity: 3 Mar 2016 15:04 EST
Popup on submitting flow action
I have below requirement.
On submiting a flow action, I should be able to display a popup showing accounts checked by user on the screen before submitting. However,it should perform all validations for the flow actions before showing pop-up.If any of the valuidations fail, show validation error message in pop-up.
If validations passed,the pop-up should display the account numbers checked by the user ons creen.The pop-up should have OK and Cancel options. Clicking OK should submit flow action. Clicking cancel should just close the pop-up.
I have tried launching the local action on clcik of submit and triggering the activity to perform validations in backend vefore that and showing the messages conditionally in pop-up based on whether validation failed or not. However, it works the first time, but in successive attempts it does not work the way as expected.
Please let me know if anyone has implemented such similar requirement. I have gone through few posts relalted to similar questions but havent found something conclusive yet. Would really appreciate some inputs here.