Carrello
0
0,00 €
When you try to access Promoted properties inside the Orchestrations, to avoid these types of errors, you should check if the Promoted property exists before trying to read it by using the exits operator.
//GET UNB3.2
if(EDI.UNB3_2 exists msgOrder)
{
varUNB32 = msgOrder(EDI.UNB3_2);
}
else
{
varUNB32 = "";
}
The exists operator tests for the existence of a message context property in a certain message and returns a true or false. It can be used in Expression, Message Assign, or Decision Shapes.