Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Using Local Variables in nested for-each loops in Mapper UI

edited Apr 23, 2018 7:00AM in Integration 8 comments

Summary

Using Local Variables in nested for-each loops in Mapper UI

Content

Product: Oracle Integration Cloud

Version: Latest 18.1

 

Hi,

We are trying to get all the address references of an account by invoking an application and populate in an addresses array which is nested inside the accounts entity of trigger.

 

Parent Context:

<xsl:template match = '/'>

<xsl:for-each select = '$GetRelatedAccountDetails/nsmpr8:findAccountResponse/nsmpr8:result'>

 

Here $FindAddresses and $GetRelatedAccountDetails are two variables which are populated independently through independent invokes.

I need to get the address ids corresponding to an account. This can be done by iterating over each account(refer to parent context for-each) and then iterating over all addresses which have the same PartyNumber. However, I'm unable to get the parent context(

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!