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

Goto

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

Scenario Builder Goto scenario block


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

  1. Add a Goto block to the desired location in the flowchart. The Scenario Builder will mark the block in red until you define a destination for it.
  1. Select the Goto block in the flowchart. The Edit Pane will display a copy of the flowchart.
  2. 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 Scenario 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, Goto blocks are used to take the call to the Find Agent block on line 47 of the scenario.

Example of a Goto block redirecting a call the Find Agent block.
< Previous | Next >