lam.execute
Learn more about the execute keyword
Functionality
The execute
keyword executes each specified workflow in the array with its corresponding payload synchronously. This blocks the current workflow's execution until all specified workflows complete.
Invocation
Data transformation must output:
Key
Description
Type
execute
The workflows to execute with a payload
Array<{ workflowId, payload }>
workflowId
The workflow ID to invoke
Integer
payload
The payload to pass to the workflow
Object
Examples
In this example we map an array of packages to the
execute
keyword. Laminar will then invoke workflow 39 with each individual payload in sequence.
Last updated
Was this helpful?