From Bright Pattern Documentation
< 5.19:Workflow-builder-reference-guide
Revision as of 07:31, 17 September 2024 by Wyler.metge (talk | contribs) (Updated via BpClonePage extension. Source page: draft:Workflow-builder-reference-guide/Goto)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
• 5.19 • 5.2 • 5.3 • 5.8

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 >