Skip to main content
Solved

Re-run reader after error in workbench

  • September 20, 2017
  • 1 reply
  • 10 views

pinkopo
Contributor
Forum|alt.badge.img+5

Hi guys,

I am trying to setup a workbench to download data from various feature servers. the reader's format is Esri ArcGIS Server Feature Service and i use feature writer to write the data.

I've been having this below error notice once a while, but it's normally gone after i re-run it after a while. Python Exception <HTTPError>: 502 Server Error: BAD_GATEWAY for url

- Is there a way I can setup in my workbench to let it keep running after one of the readers has this error?

- Can I let the workbench re-run that reader after receiving this error?

Thanks

Best answer by stalknecht

Yes, you can setup the workspace to ignore failed readers. See screenshot.

If you use a Workspacerunner then you could build in some re-run logic. If you like to stick to one workspace then you can use the featureReader and build the logic there.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

stalknecht
Contributor
Forum|alt.badge.img+22
  • Contributor
  • Best Answer
  • September 20, 2017

Yes, you can setup the workspace to ignore failed readers. See screenshot.

If you use a Workspacerunner then you could build in some re-run logic. If you like to stick to one workspace then you can use the featureReader and build the logic there.