Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to call a flow twice in APIGEE with different request

Hello,

I would like to calls a flow twide. That is, if the response is empty after the first call, I need to modify the request JSON and call the same flow again. Is it possible to do this in APIGEE?

Solved Solved
0 2 153
1 ACCEPTED SOLUTION

ganadurai
Former Googler

You can use "Conditions" to determine the state of the response (codes, header and content values) and invoke the SeriviceCallout policies. 

Checkout the sample defined here.

Thanks

View solution in original post

2 REPLIES 2

ganadurai
Former Googler

Based on the response from invoking Target define in TargetEndpoint, you can invoke ServiceCallout policy defined with the same URI in the PostFlow within TargetEndpoint.

Thanks

ganadurai
Former Googler

You can use "Conditions" to determine the state of the response (codes, header and content values) and invoke the SeriviceCallout policies. 

Checkout the sample defined here.

Thanks