core-utils
    Preparing search index...

    Request parameters for cancelling a previously triggered workflow.

    Cancels any queued workflow runs associated with the given workflowKey / cancellationKey pair. The cancellationKey must match the one passed in TriggerBody.cancellationKey when the workflow was triggered.

    interface CancelRequest {
        cancellationKey: string;
        dryRun?: boolean;
        recipients?: string[];
        workflowKey: string;
    }
    Index

    Properties

    cancellationKey: string

    The cancellation key used when originally triggering the workflow.

    dryRun?: boolean

    If true, the cancellation will not be sent, but the request will be validated and logged.

    recipients?: string[]

    Scope the cancellation to specific user IDs. If omitted, cancels for all recipients associated with the cancellationKey.

    workflowKey: string

    Workflow key.