Question
2
Replies
29
Views
Posted: January 21, 2021
Last activity: January 22, 2021
Expandable Row call Flow Action Post Processing rule on collapse
Hi,
I have a table that i configured this way :
- Row editing : Master-detail
- Display of details : expandable rows
- Detail flow action : MyUpdateFlowAction
- Display an expand/collapse icon per row : true
MyUpdateFlowAction has a Post-Processing activity.
I have a standard icon for expand/collapse.
While expanding, i got the Cancel et Submit action button.
Is it normal that if i just Expand and Collapse, without doing anything else, Pega trigger my flow action Post processing activity ?
I just want it to be called on submit not on Collapse.
Thanks.
***Edited by Moderator Marissa to update Platform Capability tags****
@ShezadM8
I checked the UseCase with UI gallery and yes when we collapse the post processing activity triggers.
If you want the activity to run on click of "Submit" when you can try the below changes. Open the Submit button from "pyGridRowDetails" section and do Save As of the section.
Then open the configuration of "pzModalButton" and see that function "Grids.getActiveGridDetails(event).submitModal(event)" is called by capturing the event.
Here you can call your own function and inside that you can call the "Grids.getActiveGridDetails(event).submitModal(event)" and the Post processing activity.
Regards,
Tashika