ForEachActivityArgs

data class ForEachActivityArgs(val activities: Output<List<Any>>, val batchCount: Output<Int>? = null, val dependsOn: Output<List<ActivityDependencyArgs>>? = null, val description: Output<String>? = null, val isSequential: Output<Boolean>? = null, val items: Output<ExpressionArgs>, val name: Output<String>, val onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null, val state: Output<Either<String, ActivityState>>? = null, val type: Output<String>, val userProperties: Output<List<UserPropertyArgs>>? = null) : ConvertibleToJava<ForEachActivityArgs>

This activity is used for iterating over a collection and execute given activities.

Constructors

Link copied to clipboard
constructor(activities: Output<List<Any>>, batchCount: Output<Int>? = null, dependsOn: Output<List<ActivityDependencyArgs>>? = null, description: Output<String>? = null, isSequential: Output<Boolean>? = null, items: Output<ExpressionArgs>, name: Output<String>, onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null, state: Output<Either<String, ActivityState>>? = null, type: Output<String>, userProperties: Output<List<UserPropertyArgs>>? = null)

Properties

Link copied to clipboard
val activities: Output<List<Any>>

List of activities to execute .

Link copied to clipboard
val batchCount: Output<Int>? = null

Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).

Link copied to clipboard
val dependsOn: Output<List<ActivityDependencyArgs>>? = null

Activity depends on condition.

Link copied to clipboard
val description: Output<String>? = null

Activity description.

Link copied to clipboard
val isSequential: Output<Boolean>? = null

Should the loop be executed in sequence or in parallel (max 50)

Link copied to clipboard
val items: Output<ExpressionArgs>

Collection to iterate.

Link copied to clipboard
val name: Output<String>

Activity name.

Link copied to clipboard
val onInactiveMarkAs: Output<Either<String, ActivityOnInactiveMarkAs>>? = null

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: Output<Either<String, ActivityState>>? = null

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

Link copied to clipboard
val type: Output<String>

Type of activity. Expected value is 'ForEach'.

Link copied to clipboard
val userProperties: Output<List<UserPropertyArgs>>? = null

Activity user properties.

Functions

Link copied to clipboard
open override fun toJava(): ForEachActivityArgs