UntilActivityResponse

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

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

List of activities to execute.

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. The loop will continue until this expression evaluates to true

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
val timeout: Any? = null

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-9)):(60|(0-9)).

Link copied to clipboard

Type of activity. Expected value is 'Until'.

Link copied to clipboard

Activity user properties.