Hello,
I have an integration in which I call a sub-integration using the "Call integration" task (also tried with for each loop task and for each parallel task but doesn't solve the problem).
My sub-integration is set to always send success even if a problem occurs, using the ignore error handling strategy and creating a custom error message in a custom local variable if ErrorMessage is not empty. So the sub-integration either send a variable called outputAddress or errorAddress (which are both of string type) to the main integration.
It works fine when there is no error in the sub-integration, I retrieve the outputAddress and can store it in a local variable in the main integration.
However it doesn't work when I try to retrieve errorAddress, I have this error happening (cancelling the task so the errorAddress never reaches the main integration) :
I looked up the problem on github but I don't understand what "$.message" is refering to in my case (the only "message" I found in the integration is in ErrorInfo and I don't know how to access it).
I already tried to change the variable I map between the integrations (switching the custom variable by the ErrorMessage variable), change the type of the custom variables, change the content of the custom variables but nothing seems to work.
Any clue would be highly appreciated.
Thanks!
Not sure if this will help but we use this bit of code:
exists($ErrorMessage$) AND $ErrorMessage$ != "NULL"
on the ouput "Edge" or "leg" and if there is a certain error message then do something (i.e. in your case populate the errorAddress) or you could call the error catcher etc etc
Unfortunately it doesn't work, the integration still stops with the same error message but thanks for your reply 🙂
If the issue still exists, you can message me more details like project id, integration name, execution id. So I can take a look.