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

Continue the proxy preflow when JS policy timeout occurs

Hi Team,

I have added the continueOnError="true" and timeLimit="1000" in JS policy.

I am calling another end point from above JS policy AuthHandler.js code. If another end point taking more then 1000ms then execution got abort and get the script execution failed and next flows did not execute. 

chetannarula27_0-1730825651626.pngchetannarula27_1-1730825822459.png

 

But i want to execute the next flows. so i can do the retry to execute again the JS policy or I can implement the retry when timeout happen once.

Tried to implement the retry using fault rule based on script execution failed  and call again the JS policies and flows but target end point not being executed.
How we can achieve the retry when JS policy time out.

Thanks,

Chetan

0 3 402
3 REPLIES 3