Can I have a workflow that prompts the user for an input via a ShowNewScreen (pausing the action) and then finishes processing after the overlay returns?
In this case I want to
Show New Screen (to get a ‘final’ required note). Which does an Add Row for the final text note (which is a workflow that finishes with a ‘go back’ which returns to the main screen)
After Show New Screen ‘returns’ finsih workflow (multiple Add Rows).
Seems that they all happen sequentially where in some cases the Show New Screen ‘quits’ and in some cases it allows the note to be written. But in all cases the actions after the Show New Screen continue to occur.
I can move all the logic into the Show New Screen workflow but I thought their was a way for a workflow to ‘wait’ until an action finished (Show New Screen returns) before finishing processing the the rest of the action.
Maybe where you are getting confused is in thinking the Show New Screen and Go Back are somehow linked or dependent on each other. They are not. The Show New Screen “returns” as soon as the step fires and is in no way dependent on any workflow steps that may follow it.
Was wondering if the the “wait for condition” could be used or if Glide’s new workflows had some built-in condition that could be used. But seems like I would have to set a variable for “wait” and clear the variable for “continue”. Something in the USER table.
Does it need to be be one workflow? Couldn’t you just have an action to open the new screen, then a submit button on the screen the fires off another workflow to add rows and go back?
Actions kickoff in the order that they are listed
Actions complete in the time that they take.
If your workflow had three actions 1,2,3 and Action 1 was a complicated Add Row and Action 3 was Show Notification…Action 3 can complete before Action 1 finishes its work.
In my case I called New Screen which brought up a New Screen…while actions 2 and 3 continued right along.
To fix this I moved Actions 2,3 into the New Screen (workflow) and had them finish after the (simple) Add Note like they should.
If this is incorrect - let me/us know - cause it works now