Hi All,
I was following below architecture for removing duplicate activities to get the error message of every activity for logging purpose.
For logging error at every activity level i used the following code to concat error messages from every activity
@markus.bohland@hotmail.de (activity('Act_1').error?.message,'^|',activity('Act_2').error?.message,'^|',activity('Act_3').error?.message,'^|',activity('Act_4').error?.message)
But because we are using Skipped along with completion dependency, the upper concat expression fails with the following error when an activity is skipped:
The expression 'concat(activity('Act_2').error?.message)' cannot be evaluated because property 'error' cannot be selected.
Is there any way, i can get error messages for every activity in the above architecture?
Also is there any flag or way to identify whether an activity went through a skipped ,or completion case if all 2 flows are mapping to same output?