hi All,
I was able to pass an object(consumerResponsevAR
) to the UDP . Instead of passing $consumerResponsevAR
,I have passed the consumerResponsevAR
which is pass by reference which actually worked.
------------------------------
vijaya k k
------------------------------
Original Message:
Sent: Thu January 23, 2025 09:39 AM
From: vijaya k k
Subject: how to pass an object as input to UDP
@Steve Linn any inputs on this ?
------------------------------
vijaya k k
Original Message:
Sent: Wed January 22, 2025 03:38 PM
From: vijaya k k
Subject: how to pass an object as input to UDP
In my API, we have an invoke policy with a Response Variable object set to a variable name consumerResponsevAR
. I need to pass that consumerResponsevAR
object as an input to the UDP. The UDP needs to perform validations against that object. How can this be achieved? Your inputs are appreciated. Just to add, this UDP is widely used by different consumers, so using context.get("consumerResponsevAR.body")
cannot be used in the UDP as different consumers can save it to different variable names.
------------------------------
vijaya k k
------------------------------