IfConditionActivity Class

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.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datafactory.models._models_py3.ControlActivity
IfConditionActivity

Constructor

IfConditionActivity(*, name: str, expression: _models.Expression, additional_properties: Optional[Dict[str, Any]] = None, description: Optional[str] = None, depends_on: Optional[List[_models.ActivityDependency]] = None, user_properties: Optional[List[_models.UserProperty]] = None, if_true_activities: Optional[List[_models.Activity]] = None, if_false_activities: Optional[List[_models.Activity]] = None, **kwargs)

Variables

additional_properties
dict[str, any]

Unmatched properties from the message are deserialized to this collection.

name
str

Required. Activity name.

type
str

Required. Type of activity.Constant filled by server.

description
str

Activity description.

depends_on
list[ActivityDependency]

Activity depends on condition.

user_properties
list[UserProperty]

Activity user properties.

expression
Expression

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

if_true_activities
list[Activity]

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.

if_false_activities
list[Activity]

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.