cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Passing different Values to attribute undera node in Graphical Mapping

hemanthky
Explorer
0 Likes
653

During message mapping I faced a problem where I need to assign values to a node basing on the values of attribute assigned to it (which are constants). How can I map the attribute with multiple values

I don't know how to achieve this in graphical mapping . the Target xml at Value node should look like this

<Values>

<Value AID ="Account">123456</Value>

<Value AID = "Type" ID="S">name </Value>

</Values> where 123456(Account) will be assigned dynamically and name is always constant .attribute ID has to be disabled when Value node is assigned with Account .I believe we can map "Value" node basing on value assigned to attribute AID. Can someone provide a solution to achieve this in graphical mapping

Accepted Solutions (1)

Accepted Solutions (1)

MaAll
Explorer
0 Likes

Hi,

I think this could be achieved using the duplicate subtree functionality on the target XML element. If you bring up the context menu , then select the Duplicate Subtree, you'll have 2 separate Value elements under the Values node.

You can then implement different logic under each element with the first Value taking the details from the Account in the source message and the second Value[1] taking the constant value.

Hope this helps.

hemanthky
Explorer
0 Likes

Thanks Mathew . That is what we did to resolve our issue

Answers (0)