cancel
Showing results for 
Search instead for 
Did you mean: 

Assign a constant to element of message in Integration Process

Former Member
0 Kudos

At the beginning of Integration Process I using Receive step and it receives message1, that contains only parameter "id":

<message1>

<id>1234</id>

</counter>

</message1>

Than I have some steps, than Switch step with a condition. In otherwise branch I need to assign some constant to element "counter" of message1 and send this message to the next receiver:

<message1>

<id>1234</id>

<counter>constant </counter>

</message1>

How can I do this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In your otherwise branch, use a transformation step to all a mapping program, map the constant value to your counter element.

Regards.

Liang

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

Easiest is to use a transformation step (mapping) in your otherwise branch to fill your constant