Hi All,
I am having problem in PI Mapping.
Requirement: Trigger an email target structure only if ReturnCode is not equal to 0 and 1.
Source Structure Target Structure
Invoice 1..1 Mail1 1..1
Return 0..unbounded Mail2 0..unbounded
ReturnCode 1..1 ReturnCode 0..1
Kindly help me out with the Mapping to be implemented for the same.
I tried below logic,
Mapping 1st Node:
I ReturnCode I I SplitByValue I
I = I I Not I
I or I I createif I I Spltbyvalue I I removecontext I I Mail1I
I Constant(0) I
I ReturnCode I I SplitByValue I
I = I I Not I
I Constant(1) I
Mapping 2nd Node:
I ReturnCode I I SplitByValue I
I = I I Not I
I and I I createif I I Spltbyvalue I I removecontext I I Mail2I
I Constant(0) I
I ReturnCode I I SplitByValue I
I = I I Not I
I Constant(1) I
Regards,
Santhu