From Bright Pattern Documentation
Jump to: navigation, search
Updated via BpDeleteTranslateTags script
Updated via BpClonePage extension. Source page: draft:Workflow-builder-reference-guide/Goto
 
Line 1: Line 1:
= Goto=
= Goto=
The ''Goto'' workflow block redirects the processing flow of the workflow to a specified destination in the flowchart.
The ''Goto'' workflow block redirects the processing flow of the workflow to a specified destination in the flowchart.


[[File:WB-Goto-52.PNG|225px|Goto workflow block]]
[[File:WB-Goto-52.PNG|225px|Goto workflow block]]
Line 12: Line 11:
# In the Edit Pane, click the desired Goto destination (i.e., the building block to which you want to redirect the flow using this Goto block).
# In the Edit Pane, click the desired Goto destination (i.e., the building block to which you want to redirect the flow using this Goto block).


The flowchart displays the new name of the Goto block, which indicates the location in the flowchart to which the block redirects the processing flow. The format of the name is Goto ''“[destination block title]”''.


The Workflow Builder will highlight the Goto block in red if you remove its destination block during editing.
Use the search bar at the top of the Edit Pane to find blocks by name or title text. Navigate through the search results with the up and down arrow keys.


In the following example, a Goto block is used to redirect the workflow back to the beginning.
The flowchart displays the new name of the Goto block, which indicates the location in the flowchart to which the block redirects the processing flow. The format of the name is ''Goto -> [destination block line number]'' ''“[destination block title]”''.


The Workflow Builder will highlight the Goto block in red if you remove its destination block during editing.


To change the destination of a saved Goto block, click on the "Slide to Edit" button to unlock the Edit Pane and allow a new destination to be selected.


[[File:WB-Goto-Settings-52.PNG|650px|thumb|center|Goto workflow block settings]]
In the following example, a Goto block is used to redirect the workflow to the Exception Handler block on the first line.
[[File:Goto Workflow Example.png|center|thumb|670x670px|A Goto block is used to return the workflow to the beginning. ]]

Latest revision as of 07:31, 17 September 2024

Goto

The Goto workflow block redirects the processing flow of the workflow to a specified destination in the flowchart.

Goto workflow block


To redirect the flow using this block, follow these steps:

  1. Add a Goto block to the desired location in the flowchart. The Workflow Builder will mark the block in red until you define a destination for it.
  2. Select the Goto block in the flowchart. The Edit Pane will display a copy of the flowchart.
  3. In the Edit Pane, click the desired Goto destination (i.e., the building block to which you want to redirect the flow using this Goto block).


Use the search bar at the top of the Edit Pane to find blocks by name or title text. Navigate through the search results with the up and down arrow keys.

The flowchart displays the new name of the Goto block, which indicates the location in the flowchart to which the block redirects the processing flow. The format of the name is Goto -> [destination block line number] “[destination block title]”.

The Workflow Builder will highlight the Goto block in red if you remove its destination block during editing.

To change the destination of a saved Goto block, click on the "Slide to Edit" button to unlock the Edit Pane and allow a new destination to be selected.

In the following example, a Goto block is used to redirect the workflow to the Exception Handler block on the first line.

A Goto block is used to return the workflow to the beginning.
< Previous | Next >