for loop to loop xml repetitive tag content
Hi Friends ,
Here I need fetch the OrgCode value from party tag whose AgentId=1
<Msg>
<Parties>
<Party AgentId=0>
<OrgCode>abcd</OrgCode>
</Party>
<Party AgentId=1>
<OrgCode>FCA</OrgCode>
</Party>
<Party AgentId=2>
<OrgCode>FCA</OrgCode>
</Party>
</Msg>
</Parties>
Here is my loop logic which is not working , could you please help me
if party.AgentId ="1"
{
set recipientCode=party.OrgCode
}
}
Thank you
Product version: IRIS 2022.1