Question

Screen flow step query

Inside a screen flow, how do I go back from last assignment to first assignment on click of button

***Edited by Moderator Marissa to move from Pega Academy to Pega Support Community; update platform capability tags***

Correct Answer
September 23, 2019 - 7:46am

You can get the task name and flow name from the flow XML or look at the data on the pyWorkPage.pxFlow page. If you run your flow and use the OOTB breadcrumb navigation to go back to the first assignment, you can trace it and see the parameter values being passed. The OOTB navigation uses the GoToPreviousTask and jumpToTask activities.

Comments

Keep up to date on this post and subscribe to comments

Pega
September 20, 2019 - 1:03pm

Hi,

What business requirement would need such a setup, where first assignment gets launched on finishing the last assignment?

September 21, 2019 - 3:10am
Response to Srinivas21

Hi  Srinivas,

In a screen flow, need to go back to the first on click of a button in the third screen.

Kindly assist to achieve the above requirement

September 20, 2019 - 1:07pm

You can try using the jumpToTask activity.

September 21, 2019 - 9:09am
Response to CarissaW_GCS

what should i give in the task name and flow name

September 23, 2019 - 7:46am
Response to Lavanya.024

You can get the task name and flow name from the flow XML or look at the data on the pyWorkPage.pxFlow page. If you run your flow and use the OOTB breadcrumb navigation to go back to the first assignment, you can trace it and see the parameter values being passed. The OOTB navigation uses the GoToPreviousTask and jumpToTask activities.

September 20, 2019 - 1:08pm

If you have the breadcrumb navigation shown, users can also click on the breadcrumb to go back to the first task.

Pega
September 20, 2019 - 6:47pm

Using work-.GoToPreviousTask activity can be another choice. 

 

September 21, 2019 - 3:12am

Thank you all , will try all the possible.