I am creating a pipeline in which I have to pass a variable in a stored procedure from an If Condition in ADF.
The flow of the pipeline is like this:-
Lookup --> If Condition --> Stored Procedure
What I am trying to achieve is, I want to get the execution details (Only Failed or Succeed) of the If Condition. How can I do that?
THANKS!
I figured it out only about the error details:-
You can simply use the function in ADF like this:-
@activity('if Condition1').error.message
By the way the upper answer given by @AbhishekKhandave-MT is also good, but you can simply use the .error
JSON to get the error code and message.
Thanks for helping out @AbhishekKhandave-MT