on ‎2023 Apr 29 10:58 AM
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 mappingRequest clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.