lam.execute
Learn more about the execute keyword
Invocation
Data transformation for a flow must output:
Key
Description
Type
execute
The workflows to execute with a payload.
Array { lam.workflowId, lam.payload }
workflowId
The workflow ID to invoke.
Integer
payload
The payload to pass the workflow we're invoking.
Object
Functionality
The execute
keyword will execute each specified workflow in thelam.execute
array with its corresponding payload. This keyword allows for iterative operations (i.e. running a POST
request for various objects in a list) that should be run synchronously and will block the current running workflow's execution.
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