Package version:

This activity executes inner activities until the specified boolean expression results to true or timeout is reached, whichever is earlier.

interface UntilActivity {
    activities: ActivityUnion[];
    dependsOn?: ActivityDependency[];
    description?: string;
    expression: Expression;
    name: string;
    onInactiveMarkAs?: string;
    state?: string;
    timeout?: any;
    type: "Until";
    userProperties?: UserProperty[];
}

Hierarchy (view full)

Properties

activities: ActivityUnion[]

List of activities to execute.

dependsOn?: ActivityDependency[]

Activity depends on condition.

description?: string

Activity description.

expression: Expression

An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true

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.

timeout?: any

Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

type

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

userProperties?: UserProperty[]

Activity user properties.