Cache Operations in JavaScript Callout

Not applicable

Hello All,

Is there any documentation on how to do cache operations (invalidate, populate, lookup) via a JavaScript callout vs. the usual .xml policies? We have a need to create several permissions objects based on data we're storing in the BaaS... as opposed to creating a flow to serially set 50+ cache keys based on this data, I am looking to do this with one JavaScript policy.

Any other options that I am not aware of other than these two options would be greatly appreciated.

Thanks! Steve

Solved Solved
0 2 610
1 ACCEPTED SOLUTION

Not applicable

Cache operations are not directly accessible via Javascript Callout. A Node based target however does have access to the operations you mention. See Apigee Node Cache Operations for more information.

View solution in original post

2 REPLIES 2

Not applicable

Cache operations are not directly accessible via Javascript Callout. A Node based target however does have access to the operations you mention. See Apigee Node Cache Operations for more information.

Not applicable

Although it is not a recommended approach, It can be achieved by making the management apis calls from your JavaScript callout policy.