Question

10
Views
Close popover
Seera Navya (Navya)
TATA CONSULTANCY SERVICES LTD
IT Analyst
TATA CONSULTANCY SERVICES LTD
IN
Navya Member since 2015 3 posts
TATA CONSULTANCY SERVICES LTD
Posted: 4 weeks 1 day ago
Last activity: 4 weeks 1 day ago

Flow Action Pre Processing activity execution needs to be restricted or controlled on click on flow action previous button

I have a requirement in which on click of a button a screen flow needs to be launched, the first screen in the screenflow should display values in a page list with checkbox enabled against each value in list for user selection. This list is populated in an activity configured as a pre processing activity of the flow action configured on the first assignment shape in the screen flow.

Issue: When user selects few values from the page list(using checkbox) populated in screen 1 and clicks on Next Button(Default Flow Action button) and again navigates to screen 1 using Previous Button (Default Flow Action button), the pre processing activity is again being executed and as a result the page list is again formed and the previously slected checkboxes are refreshed.

As a work around, calling the activity in a utility shape placed before the first assignment resolved the issue.

Can Work-PerformPreProcessing be restricted when flow action section is launched using Previous Button or Next Button while in a screen flow?

***Edited by Moderator: Pooja Gadige to add platform capability tag***
Pega Platform 7.1.9 Enterprise Application Development Dev/Designer Studio Case Management Communications and Media System Architect