We have requirement like when main flow reaches screen flow for Data capture and user not have taken any action in data capture screens for 24 hrs, then systematically end the screen flow data capture process and resume the main flow to end complete process.
So i have kept SLA in screen flow in work object level. In SLA i have set deadline time as 24hrs.
First perform action, called an escalation activity which will set few values in data capture screen.
Second perform action, selected Advance flow and passed flow action parameter to end the screen flow process.
When I open the case, I am able to see the values which i have set in escalation activity. But, the case is still in screen flow and it is not moving from screen flow to main flow.
Advance flow will not solve this issue since the assignment is actually internal screenflow assignment and advance flow will not end the current flow and jump to next shape in outer flow. Advance flow will only advance one step next which should be the next assignment in screenflow. What you need to do here is to set a ticket to the end shape of screenflow and raise a ticket using SLA action which will ideally end the screenflow and move to next step in main process.