This content has been marked as final. Show 1 reply
I'll just take you through the TrueConditionalCopy for now, the others follow on naturally.
According to the transformation
True Conditional Copy
Description: Copy the source field(s) into the destination field(s) if condition is satisfied
condition the condition
Here is my mapping example:-
P_RANK=TrueConditionalCopy (PARAMETER_LIST[f3].NAME, PARAMETER_LIST[f3].VALUE, "P_RANK")
Here is my message data:-
SEND_DATE: Mon Mar 15 16:06:20 GMT 2004
RECEIVE_DATE: Mon Mar 15 15:59:17 GMT 2004
Here is the transform:-
Mon Mar 15 16:06:21 GMT 2004: Processing stackframe: [ -- Empty -- ]
Mon Mar 15 16:06:21 GMT 2004: About to perform the transformation.
Mon Mar 15 16:06:21 GMT 2004: Outbound Transform Engine: performing transform.
Source Fields: [Maintain_Employees_Update_Employee_OAI_V1_P:OAI/V1.PARAMETER_LIST[f3].NAME, Maintain_Employees_Update_Employee_OAI_V1_P:OAI/V1.PARAMETER_LIST[f3].VALUE]
Destination Fields: [Update_Employee_CO:OAI/V1.P_RANK]
Source values: [P_RANK,Major]
Params: [ P_RANK ]
Mon Mar 15 16:06:21 GMT 2004: Outbound Transform Engine: done performing transform TrueConditionalCopy.
As you can see I've used the TrueConditionalCopy transformation to look for the array PARAMETER_LIST for the Name / Value pair relating to "P_RANK". Basically, the transform looks for a specified value in your source code, and if the value is of a certain "name", then copy the source value into the destination value.
I hope this helps you.