From Bright Pattern Documentation
Jump to: navigation, search
 
(Updated via BpClonePage extension. Source page: draft:Workflow-builder-reference-guide/StartAnotherWorkflow)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<translate>= Start Another Workflow=
+
= Start Another Workflow=
The ''Start Another Workflow'' block starts the specified workflow from within the given (parent) workflow. Variables defined in the parent workflow carry over to the sub workflow. After the sub workflow finishes executing, control returns to the parent workflow (except when terminated by error or disconnect). The parent workflow will resume by executing the next block in the flowchart.
+
The ''Start Another Workflow'' block starts the specified workflow from within the given (parent) workflow.  
  
  
 
[[File:WB-Start-Another-Workflow-52.PNG|225px|Start Another Workflow block]]
 
[[File:WB-Start-Another-Workflow-52.PNG|225px|Start Another Workflow block]]
 +
 +
 +
Variables defined in the parent  workflow are inherited by the "child"  workflow, and if control returns to the parent, variables defined by the child are passed back to the parent. Whether control of the  workflow returns to the parent depends on how the child  workflow completes execution:
 +
 +
* If the child  workflow reaches a [[Workflow-builder-reference-guide/Return|Return]] block (or reaches its last block without executing an [[Workflow-builder-reference-guide/Exit|Exit]] block), control returns to the parent  workflow and execution resumes at the block immediately following the Start Another  workflow block.
 +
 +
 +
* If the child  workflow reaches an [[Workflow-builder-reference-guide/Exit|Exit]] block, or terminates because of an error or disconnect, control does not return to the parent, and workflow execution ends.
  
  
Line 10: Line 18:
  
 
[[File:WB-Start-Another-Workflow-Settings-52.PNG|650px|thumb|center|Start Another Workflow block settings]]
 
[[File:WB-Start-Another-Workflow-Settings-52.PNG|650px|thumb|center|Start Another Workflow block settings]]
 
 
<center>[[workflow-builder-reference-guide/SetVariable|<Previous]]  |  [[workflow-builder-reference-guide/TransferCasetoService|Next>]]</center>
 
</translate>
 

Latest revision as of 09:53, 28 March 2025

• 5.19 • 5.2 • 5.3 • 5.8

Start Another Workflow

The Start Another Workflow block starts the specified workflow from within the given (parent) workflow.


Start Another Workflow block


Variables defined in the parent workflow are inherited by the "child" workflow, and if control returns to the parent, variables defined by the child are passed back to the parent. Whether control of the workflow returns to the parent depends on how the child workflow completes execution:

  • If the child workflow reaches a Return block (or reaches its last block without executing an Exit block), control returns to the parent workflow and execution resumes at the block immediately following the Start Another workflow block.


  • If the child workflow reaches an Exit block, or terminates because of an error or disconnect, control does not return to the parent, and workflow execution ends.


To configure the block, select the desired sub workflow in the drop-down list. The label of the block in the flowchart will display Start Another Workflow “[workflow name]”. In the workflow shown, you can see that the Start Another Workflow block is used if the call is disconnected.


Start Another Workflow block settings
< Previous | Next >