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 handles for the created instances and any per-instance errors.
createBatch is limited at 100 instances at a time or when the RPC limit for the batch (1MiB) is reached.
Options for creating instances by count or from a list of instance options
A promise that resolves with the created instance handles and any per-instance errors.
Create a batch of instances and return handles for the ones that were created. Instances that could not be created, for example because their ID already exists, are omitted from the result without an error.
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.