lam.asyncExecute
Learn more about the asyncExecute keyword
Last updated
Learn more about the asyncExecute keyword
Last updated
Data transformation for a flow must output:
Key | Description | Type |
---|---|---|
The asyncExecute
keyword will execute each specified workflow in thelam.ayncExecute
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 asynchronously and will not block the current running workflow's execution.
In this example we map an array of packages to the
asyncExecute
keyword. Laminar will then invoke workflow 39 with each individual payload in parallel.
asyncExecute
The workflows to execute asynchronously with a payload.
Array { lam.workflowId, lam.payload }
workflowId
The workflow ID to invoke asynchronously.
Integer
payload
The payload to pass the workflow we're invoking.
Object