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.synapse.artifacts.models._models_py3.ActivityIfConditionActivity
Constructor
IfConditionActivity(*, name: str, expression: azure.synapse.artifacts.models._models_py3.Expression, additional_properties: Optional[Dict[str, object]] = None, description: Optional[str] = None, depends_on: Optional[List[azure.synapse.artifacts.models._models_py3.ActivityDependency]] = None, user_properties: Optional[List[azure.synapse.artifacts.models._models_py3.UserProperty]] = None, if_true_activities: Optional[List[azure.synapse.artifacts.models._models_py3.Activity]] = None, if_false_activities: Optional[List[azure.synapse.artifacts.models._models_py3.Activity]] = None, **kwargs)
Parameters
Unmatched properties from the message are deserialized to this collection.
- 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.
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.
Feedback
Submit and view feedback for