SharePoint 2019 WFM action timeout

Michel AL HAYEK 187 Reputation points
2024-02-20T16:16:26.48+00:00

hello everyone, I have a SharePoint designer workflow HTTP call action that creates a subsite with some specific configuration and site template. sometimes this HTTP action fails and sometimes it passes. when it fails it throws an error "site already in use" but the site has a unique name it seems like the action got timed-out and it tries to do the same call again. how can I increase the workflow actions timeout?

Microsoft 365 and Office | SharePoint Server | For business
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,596 Reputation points Microsoft External Staff
    2024-02-21T07:16:30.6633333+00:00

    Hi @Michel AL HAYEK ,

    If you are encountering a "site already in use" error, it is possible that the action is timing out and attempting to make the same call again. To avoid this issue, you can modify your code to limit actions in the worker process to fewer than 30 seconds.

    Reference:

    https://learn.microsoft.com/en-us/sharepoint/dev/general-development/common-error-messages-in-sharepoint-workflow-development#common-sharepoint-workflow-errors


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.