KVM lookup in a loop

Hi All,

I have are requirement where I need to perform KVM lookup for multiple values. Count of values is dynamic.

Currently am using KVM with one key and values are JSON array object. in JavaScript policy am reading the kvm variable and looping it. 

I want to understand is there any way to achieve KVM look up in a loop.

 

Regards,

AK

0 1 126
1 REPLY 1

I want to understand is there any way to achieve KVM look up in a loop.

No, there is no good way to do that. Sorry! If I were solving this, I would do it the way you described. Or, rely on the propertysets (new feature in X + hybrid).

In general, there is no way to perform loops in the logic of Apigee, unless you rely on JS or Java or some extension policy.