lam.resolveThenExecute
Learn about the resolveThenExecute keyword
Invocation
Data transformation must output:
JavaScript
JQ
Key
Description
Type
workflowId
The workflow ID to invoke after resolving pending request
Integer
payload
The payload to pass to the workflow
Object
result
The result to resolve the pending request with
Object
Functionality
The resolveThenExecute
keyword resolves a pending request with the contents from lam.result
and then executes a new workflow. This enables asynchronous workflow execution by immediately responding to webhook requests while continuing processing.
Examples
JavaScript
JQ
In this example we start workflow 52 with our packages array and resolve the pending request with our $result.
Last updated
Was this helpful?