Flow design - Rest Action Socket timeout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 07:07 AM
Hello,
I created a new flow on flow design module with a custom action. This custom action will call an endpoint by a REST STEP, and it's working well.
When I use this action on my flow, after 3/4 minutes I get this error
I read about it, and the flow/action is waiting for a response from the endpoint. This is a synchronous behavior, but I don't want any response from the endpoint.
So basically I want that my flow runs it in asynchronous mode.
How can I change the flow to run in asynchronous mode… so it does not keep waiting on the custom action and will not give me a socket timeout?
Thank you
André Ramos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 06:37 PM
Hey @Andr_1 ,
I was also facing socket timeout connection issues with the flow designer.
So according to the ServiceNow KB article
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0794032
I created the system properties to extend the timeout. So it fixed the issue.
Hope this helps.
Thanks,
Hamza

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 07:07 AM
First, this KB article has expired and is no longer available.
Secondly, even in the expired KB article, it's not mentioned anywhere to set this value to an indefinite higher number.
These are global properties and hence, are not just tied to the flow designer or workflow, so they should be carefully fiddled with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 01:02 AM
You can explore Retry policy - This allows you to retry the same REST STEP multiple times before it errors out. You can custom define your retry policy based on the use case or use the default HTTP retry policy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 09:14 AM
Thank you! I'll check the retry policy. The KB article was up when I was looking into the solution. I'll update my solution.
Thanks,
Hamza