Skip to main content
Question

Is it possible to pause a workbench with an error message and resume it after a certain time?

  • July 20, 2023
  • 2 replies
  • 35 views

fme_hans
Contributor
Forum|alt.badge.img+5

Hi,

 

With an http caller I execute get requests. This is done in a loop to enable pagination. Sometimes the server that receives and handles the request has trouble handling it and returns an error message. Is it possible to put a decelerator after the rejected port of the httpcaller and then redirect it to the inport of the loop so that the last get request is executed again and the workspace continues?

 

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

Theoretically, yes. But it does mean that while a feature is waiting in the Decelerator there's no other features being processed at that time.

 

Best is to try and avoid overloading the server, the HTTPCaller has a built in Rate Limiting option (max request per interval and interval length)


fme_hans
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • July 20, 2023

Thanks, first I check the HTTPCaller.