Forum Discussion

Algebraic_Mirror's avatar
Algebraic_Mirror
Icon for Cirrostratus rankCirrostratus
Dec 04, 2017

In APM v12, is there any way for an iRule to return data to a per-request policy?

I am using per-request policies in v12, and I need to do some URI parsing that really requires full iRule command capabilities (ie - I can't do it with just the limited TCL commands available in a policy empty object, for example).

 

Problem is, according to the iRules wiki, while you can "get" a policy perflow variable in your iRule, you can't "set" a policy perflow variable, at least not until version 13. After I do my text parsing, I want to be able to branch on some of the information I parse out. Is there any other way to return the data from my iRule to the policy and branch on it, if I'm not able to put it into a perflow policy variable?

 

No RepliesBe the first to reply