JohnDanter2
VIP Member
Hi folks
I have an orchestration that if it encounters an error I have setup to call another ORCH to send an email message.
I use variable udcLidescription2DL02 nes.to map in the email address. The value IS 100% there duting debug, but no email is sent and I see this exception in the monitor
[DATA_CONVERSION_NOT_VALID] Cannot convert value Not Passed to type String for required input toEmailAddress.
Odd thing is, looking at the input JSON it's not even passed it at all!!! It's blank
This only works if I setup my email as a default
udcLidescription2DL02 is then used a few steps later and it works fine. It's just not working here in the error handling part
Heres the actual message ORCH, which also works fine if called directly. All inputs are strings
Thanks
John
I have an orchestration that if it encounters an error I have setup to call another ORCH to send an email message.
I use variable udcLidescription2DL02 nes.to map in the email address. The value IS 100% there duting debug, but no email is sent and I see this exception in the monitor
[DATA_CONVERSION_NOT_VALID] Cannot convert value Not Passed to type String for required input toEmailAddress.
Odd thing is, looking at the input JSON it's not even passed it at all!!! It's blank
Code:
Input JSON
X
RRD_ExchangeRateAPIFailureORCH
{
"currencyCode": "USD",
"errorMessage": "{\"RRD_SREQ_P0015A\":{\"sysErrors\":[{\"TITLE\":\"JAS_MSG317: Duplicate key not allowed. Please correct the duplicate key field\",\"DESC\":\"JAS_MSG317: Duplicate key not allowed. Please correct the duplicate key field\"}]}}",
"environment": "JDV920"
}
This only works if I setup my email as a default
udcLidescription2DL02 is then used a few steps later and it works fine. It's just not working here in the error handling part
Heres the actual message ORCH, which also works fine if called directly. All inputs are strings
Thanks
John