For partners that build or integrate commercially available applications and service solutions with the Oracle Cloud Platform
For partners that provide implementation or managed services around Oracle Cloud Applications
I have a variable based on REST endpoint that has repeating element in it that needs to be assigned from the rows of an ADP variable. How do I do that in action chain. I don't see for available in assign. if I use for each in the action chain how do I iterate the target variable to assign to next row in the loop.
Comment
It's hard to tell exactly without seeing more of the payload shape but I would suspect a forEach loop in the action chain would be the approach to take. Or failing that you can call into a module function to do the transformation
Be the first to rate this
|
Sign in to rate this
Hi Abhilasha,
I believe you have repeating element at source and target? If yes, doesn't directly mapping them(i.e. repeating source to repeating target) work?, assuming the element names and structures are same.
Regards,
Preetesh
Be the first to rate this
|
Sign in to rate this
Hi,
I need to assign ADP value to Q parameter of getall rest endpoint. How do I do It?
Thanks
Akhil Sharma
Be the first to rate this
|
Sign in to rate this
Hi Akhil,
Can you provide l'll more info on your exact requirement.
Regards,
Preetesh
Be the first to rate this
|
Sign in to rate this
The Q parameter expect value is a specific format.
My guess is that what you would want to do is create a PageModule JS function that accepts the array as an input parameter and transform it to a variable that is returned and assigned back to the Q parameter.
For example:
https://blogs.oracle.com/shay/leveraging-the-q-parameter-to-filter-tables-with-in-clause
Be the first to rate this
|
Sign in to rate this