Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SwitchActivity

Package version

This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property.

Hierarchy

Indexable

[property: string]: any

Describes unknown properties. The value of an unknown property can be of "any" type.

Index

Properties

Optional cases

cases: SwitchCase[]

List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities.

Optional defaultActivities

defaultActivities: ActivityUnion[]

List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action.

Optional dependsOn

dependsOn: ActivityDependency[]

Activity depends on condition.

Optional description

description: undefined | string

Activity description.

name

name: string

Activity name.

on

An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed.

type

type: "Switch"

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

Optional userProperties

userProperties: UserProperty[]

Activity user properties.

Generated using TypeDoc