Handling retry logic for failed HTTP actions in RoboTask

Discuss RoboTask here
Post Reply
roseblack
Posts: 1
Joined: Thu Jun 11, 2026 3:33 am

Handling retry logic for failed HTTP actions in RoboTask

Post by roseblack »

Hi everyone, I’m working with RoboTask to automate a workflow that sends HTTP requests to a REST API endpoint.

In my current setup, everything works fine most of the time, but occasionally the API request fails due to network timeouts or temporary server issues. I would like to make the automation more robust by adding a retry mechanism.

Is there a recommended way in RoboTask to implement automatic retries with a delay (for example, exponential backoff or fixed interval retries) when an HTTP action fails? Also, is it possible to log each retry attempt separately so I can debug which step is failing and how often it happens?

Any best practices or example workflows would be really helpful.
Automate smart, not hard.
Oleg
Site Admin
Posts: 3296
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Handling retry logic for failed HTTP actions in RoboTask

Post by Oleg »

You can use an error-handling task. In the error handler, you can determine at which step the error occurred and, if necessary, restart the main task (see Start Task).
In addition, you can pass the timeout value as a task parameter or via global variable.
Oleg Yershov
Post Reply