The Goto action is used to cause a task to be executed from a labeled point. You first use the Label action to place a label at some point in the task. You then place the Goto step at the point where you want the task to shift sequence and start from the labeled point.
Use Goto steps with caution, as multiple Goto steps can make a task very complicated and difficult to debug. In most cases it is preferable to create a sub-task and use a Start Task action to start the sub-task. In many programming languages, the use of even one Goto statement is considered bad programming practice.
From the Task Builder Available Actions pane, open the Flow folder and double-click the Goto action or drag it into the Steps pane.
In the Label to goto box, select the label to go to.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Label Action-Setting Properties