Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to make a conditional flow based on Quota Policy results?

The case is, there is a requirement to make a service callout when a certain user has called the API for 50 times.

The way that i am thinking is to make a quota policy, and when the quota policy fail, it will trigger a conditional flow.

My question is:

How to make a conditional flow that is triggered when the previous quota policy failed/reach its limit?

thanks for your answer

Regards,

Lightning

Solved Solved
0 4 400
1 ACCEPTED SOLUTION

Hi @Lightning , what is the functionality of Service Callout? Is it for logging/notifying/anything else?

Generally, when a policy fails, the proxy will enter error flow. Based on error condition we can make use of Fault Rules.

Within Fault Rules we can use the Service Callout policy.

View solution in original post

4 REPLIES 4