Question

Independent Consultant
BR
Last activity: 9 Jul 2025 19:55 EDT
How to use a local action configuring the cancel button to stay at the current tab and the submit to close the current tab
Hello folks,
I have this situation? I have a home tab where I do have a worklist view there. When I click over the case ID a new tab open with the case details and a few buttons (beside the navigation buttons that is for the Pega default ones). In one of those buttons I need to open a local action which uses the pyModalTemplate. When the local action opens the popup with the 2 buttons (cancel and submit shows up). I want to make the cancel button to simply close the local action but staying in the current tab where the button that called the local action is. If I click the submit button, I want to save a property that it is inside the section used by the local action, and close the current tab which it opens the local action, and go back to the home tab where the worklist section is. Somebody knows how I can implement that. I tried already to identified the buttons that was pressed at the local action without too much luck. So if somebody can help me with that I will appreciate a lot.
Best regards,