AbstractOptionaloptions: WorkflowInstanceCreateOptions<PARAMS>
Options when creating an instance including id and params
A promise that resolves with a handle for the Instance
Create a batch of instances and return handle for all of them. If a provided id exists, an error will be thrown.
createBatch is limited at 100 instances at a time or when the RPC limit for the batch (1MiB) is reached.
List of Options when creating an instance including name and params
A promise that resolves with a list of handles for the created instances.
Delete a batch of Workflow instances and their stored state.
deleteBatch is limited to 100 instances at a time. Duplicate IDs are deleted once.
The result contains one entry for each input position; IDs that do not exist are returned as per-instance errors.
IDs of the Workflow instances to delete
A promise that resolves with the successfully deleted instances and any per-instance errors.
Get a handle to an existing instance of the Workflow.
Id for the instance of this Workflow
A promise that resolves with a handle for the Instance
Create a new instance and return a handle to it. If a provided id exists, an error will be thrown.