The details of a workflow transition.

interface CreateWorkflowTransitionDetails {
    description?: string;
    from?: string[];
    name: string;
    properties?: {
        [key: string]: string;
    };
    rules?: CreateWorkflowTransitionRulesDetails;
    screen?: CreateWorkflowTransitionScreenDetails;
    to: string;
    type: "global" | "initial" | "directed";
}

Properties

description?: string

The description of the transition. The maximum length is 1000 characters.

from?: string[]

The statuses the transition can start from.

name: string

The name of the transition. The maximum length is 60 characters.

properties?: {
    [key: string]: string;
}

The properties of the transition.

The rules of the transition.

The screen of the transition.

to: string

The status the transition goes to.

type: "global" | "initial" | "directed"

The type of the transition.