Support Article
Incorrect step shown as visited when ScreenFlow is launched
SA-7617
Summary
User has configured a screenflow to be launched from a normal flow. After the screen flow gets processed user returns to the normal flow. When the screen flow is launched for the first time, there are no issues observed. However, when launched for second or successive times, the screen flow shows second step with a tick mark though screen flow is at first step.

Error Messages
No error messages.
Steps to Reproduce
a) Create a section with a repeat grid.
b) On click of the column cell of grid , configure 'FinishAssignment' action.
c) Create a flow rule that has an assignment shape and a sub-shape to launch the screen flow.
d) Run the flow. Repeat grid will be shown to user.
e) Click on a column value and it will launch the screen flow.
f) Finish the screen flow launched and user will return to the original flow.
g) Click on another row to launch the screen flow again.
h) It is observed that incorrect step of screen flow has a tick(completion) mark shown for it.
Root Cause
The issue occurred due to 'pyFlowData' page not removed before the screen flow was started. When the flow was launched for first time, the pyFlowData page didn't exist. When the flow was launched second or successive times, the previous pyFlowData page remained on the clipboard with stale data and that caused a tick-mark to be shown at the in-correct step. The screen flow execution was not designed to work in the manner it was configured.
Resolution
The problem was resolved by making a configuration change. On click of cell in repeat grid row, an activity was configured to be executed. Added the step to remove the 'pyFlowData' page:

Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.