I have below xml. I have to compare PRIMARYID field value in each node and if it is same, ClaimID field should be updated with same value else it should not get updated. Can anyone tell me how to do this in OSB. Thanks.
<InputParameters>
<choice>
<ClaimID>12</ClaimID>
<FACILITYID>123456</FACILITYID>
<PRIMARYID>1234</PRIMARYID>
</choice>
<choice>
<ClaimID>13</ClaimID>
<FACILITYID>123456</FACILITYID>
<PRIMARYID>1234</PRIMARYID>
</choice>
<choice>
<ClaimID>14</ClaimID>
<FACILITYID>123456</FACILITYID>
<PRIMARYID>2345</PRIMARYID>
</choice>
<choice>
<ClaimID>15</ClaimID>
<FACILITYID>123456</FACILITYID>
<PRIMARYID>2345</PRIMARYID>
</choice>
</InputParameters>