Expectation is to read output of If else condition based on True or False and the immediate activity should read either of the activity output.
As we cant name same activity name for both True and False, I need to name it unique but to read either of one activity like an "Or" condition is there a possibility as at any time only 1 activity output be avaialble.
True - adfactvtyfilter_activities_1
False - adfactvtyfilter_activities_2
So on completion of If else proceeding activity should check for @activity('adfactvtyfilter_activities_1').output.value or @activity('adfactvtyfilter_activities_2').output.value, whichever is available.
CodePudding user response:
- Create a pipeline variable to store the output of an activity.
- In the
If condition
activity, useSet variable
activity to store the output value of the previous activity. - Use the same variable for True and False condition activities as only 1 condition executes at a time.
- Use the variable output in the next steps as required.
True activities:
False activities: