lam.resolveThenExecute
Learn about the resolveThenExecute keyword
Invocation
Data transformation must output:
Key | Description | Type |
---|---|---|
workflowId | The workflow ID to invoke after the current pending request is resolved. | Integer |
payload | The payload to pass the workflow we're invoking. | Object |
result | The result we're resolving the pending request with | Object |
Functionality
The resolveThenExecute
keyword will resolve the pending request that executed the workflow with contents from the lam.result
key. This keyword can be used to support the execution of an integration without requiring the workflow executor to wait until the workflow is complete (i.e. receiving a webhook on /workflows/extecute/external and resolving the webhook request immediately before executing workflows).
Examples
In this example we start workflow 52 with our packages array and resolve the pending request with our $result.
Last updated