Accessing Apigee Array.

Not applicable

Hi there, can someone tell me if having a apigee variable of an array is possible? If possible, can someone point me out to an existing document? I'm wondering if I can set a javascript array to an apigee variable for example, (from a javascript policy)

var arrayVar = [1,2,3,4];

context.setVariable("arrayVar",arrayVar);

and is it possible to access it this way arrayVar[0] in the apigee Condition tags ?

0 1 967
1 REPLY 1

Not applicable

Hi @Hanzel Garcia,

this post should contain the answer to what you're looking for. Please let us know if it works.

Cheers!