Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Each branch of a Fork Instruction allows pairs of names and values for variables that are passed to the parent order to be specified:
    • For the parent order a variable with the given name and value is created.
    • Variable names have to be unique across branches, i.e. no two branches can return the same variable names.
    • Users are free to choose variable names for the parent order and assign variable values of the child order or constant values.
  • The Join Instruction adds adds any variables declared with created within branches to the parent order.

Error Handling

...

Job Errors

Parent orders are not exposed to job errors as any instructions and jobs within the Fork Instruction are executed by child orders. Instead a parent order adopts the final state of its child orders.

...