How to declare a job as CUSTOM if it cannot connect to request after 15000ms?

I need to declare them as CUSTOM instead of FAIL/ERROR so I can work with it later on. How can I do this?

you need to use C# and a try/catch block, catching TimeoutException and setting the status to custom in the catch clause, then returning.

2 Likes