Hi @AdamR_AYX (or anyone else who can help)
I am trying to use the Expect Error macro but am not getting the result I was expecting, am I setting it up correctly. Basically I want to disregard a Command tool error which I cant resolve but is also not causing a problem. I have inserted 2 pictures, one of the error and one of the macro setup.
Is there anything else I should be doing.
Thanks
Kevin
Solved! Go to Solution.
That's the right usage, but it is only going to work for workflows run by the TestRunner tool.
If you just want it to work for a regular workflow run then a trick I have used in the past is to create a batch file with the command which errors in and then make the last line exit 0
So
<<Command you want to run which errors>>
Exit 0
Then make the RunCommand tool run the batch file.
Hi Adam
Thanks for the reply, I tried your exit 0 suggestion below and unfortunately it did not work for me, not sure why. Anyway I figured out another alternative using your conditional runner macro, i.e. I run the command tool as a separate WF and on error continue with my ETL WF.
Not ideal but keeps things moving.
Cheers
Kevin