Details of a workflow transition.

interface Transition {
    description: string;
    from: string[];
    id: string;
    name: string;
    properties?: {
        [key: string]: unknown;
    };
    rules?: WorkflowRules;
    screen?: TransitionScreenDetails;
    to: string;
    type: "global" | "initial" | "directed";
}

Properties

description: string

The description of the transition.

from: string[]

The statuses the transition can start from.

id: string

The ID of the transition.

name: string

The name of the transition.

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

The properties of the transition.

Type declaration

  • [key: string]: unknown

    The properties of the transition.

A collection of transition rules.

The details of a transition screen.

to: string

The status the transition goes to.

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

The type of the transition.