IfConditionActivity interface

This activity evaluates a boolean expression and executes either the activities under the ifTrueActivities property or the ifFalseActivities property depending on the result of the expression.

Extends

Properties

expression

An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.

ifFalseActivities

List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.

ifTrueActivities

List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.

type

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

Inherited Properties

dependsOn

Activity depends on condition.

description

Activity description.

name

Activity name.

onInactiveMarkAs

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

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

userProperties

Activity user properties.

Property Details

expression

An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.

expression: Expression

Property Value

ifFalseActivities

List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.

ifFalseActivities?: ActivityUnion[]

Property Value

ifTrueActivities

List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.

ifTrueActivities?: ActivityUnion[]

Property Value

type

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

type: "IfCondition"

Property Value

"IfCondition"

Inherited Property Details

dependsOn

Activity depends on condition.

dependsOn?: ActivityDependency[]

Property Value

Inherited From ControlActivity.dependsOn

description

Activity description.

description?: string

Property Value

string

Inherited From ControlActivity.description

name

Activity name.

name: string

Property Value

string

Inherited From ControlActivity.name

onInactiveMarkAs

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.

onInactiveMarkAs?: string

Property Value

string

Inherited From ControlActivity.onInactiveMarkAs

state

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

state?: string

Property Value

string

Inherited From ControlActivity.state

userProperties

Activity user properties.

userProperties?: UserProperty[]

Property Value

Inherited From ControlActivity.userProperties