Package version:

Interface ControlActivity

Base class for all control activities like IfCondition, ForEach , Until.

interface ControlActivity {
    dependsOn?: ActivityDependency[];
    description?: string;
    name: string;
    onInactiveMarkAs?: string;
    state?: string;
    type:
        | "Container"
        | "ExecutePipeline"
        | "IfCondition"
        | "Switch"
        | "ForEach"
        | "Wait"
        | "Fail"
        | "Until"
        | "Validation"
        | "Filter"
        | "SetVariable"
        | "AppendVariable"
        | "WebHook";
    userProperties?: UserProperty[];
}

Hierarchy (view full)

Properties

dependsOn?: ActivityDependency[]

Activity depends on condition.

description?: string

Activity description.

name: string

Activity name.

onInactiveMarkAs?: string

Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.

state?: string

Activity state. This is an optional property and if not provided, the state will be Active by default.

type:
    | "Container"
    | "ExecutePipeline"
    | "IfCondition"
    | "Switch"
    | "ForEach"
    | "Wait"
    | "Fail"
    | "Until"
    | "Validation"
    | "Filter"
    | "SetVariable"
    | "AppendVariable"
    | "WebHook"

Polymorphic discriminator, which specifies the different types this object can be

userProperties?: UserProperty[]

Activity user properties.