IfConditionActivityResponse

data class IfConditionActivityResponse(val dependsOn: List<ActivityDependencyResponse>? = null, val description: String? = null, val expression: ExpressionResponse, val ifFalseActivities: List<Any>? = null, val ifTrueActivities: List<Any>? = null, val name: String, val onInactiveMarkAs: String? = null, val state: String? = null, val type: String, val userProperties: List<UserPropertyResponse>? = null)

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.

Constructors

Link copied to clipboard
constructor(dependsOn: List<ActivityDependencyResponse>? = null, description: String? = null, expression: ExpressionResponse, ifFalseActivities: List<Any>? = null, ifTrueActivities: List<Any>? = null, name: String, onInactiveMarkAs: String? = null, state: String? = null, type: String, userProperties: List<UserPropertyResponse>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Activity depends on condition.

Link copied to clipboard
val description: String? = null

Activity description.

Link copied to clipboard

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

Link copied to clipboard
val ifFalseActivities: List<Any>? = null

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.

Link copied to clipboard
val ifTrueActivities: List<Any>? = null

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.

Link copied to clipboard

Activity name.

Link copied to clipboard

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.

Link copied to clipboard
val state: String? = null

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

Link copied to clipboard

Type of activity. Expected value is 'IfCondition'.

Link copied to clipboard

Activity user properties.