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 120
1 ACCEPTED SOLUTION

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

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

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