April 15, 2024 at 12:24 pm
Hello there.
I have the following Pipeline
I want to get the property error message from with every test fails, but i am stuck with the following error
The expression
concat(
if(equals(activity('Test1').Error?.message, null), '', 'Test1'),
if(equals(activity('Test2').Error?.message, null), '', 'Test2')
)
cannot be evaluated because property 'Error' cannot be selected.
Basically, if the property (error) does not exist, i want a blank string,
if it does exist, i to return hard coded text, ie whichever task it is failing.
Can this be done?
I have also tried the following but does not work
@concat(
if(contains(string(activity('Test1')), 'Error'), 'Test1',''),
if(contains(string(activity('Test2')), 'Error'), 'Test2','')
)
Is there a way for doing this please
Regards
Rob
April 16, 2024 at 1:10 pm
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy