SPD Workflow triggers multiple calls to the rest service

chahat nagpal 21 Reputation points
2020-11-19T09:07:04.627+00:00

I have a Sharepoint 2013 Designer workflow that calls the REST service on just 'Item created' . Rest service ZIP large size files. when i call the service from the workflow , IIS trigger the service multiple times if it does not receive the response in 40-50 secs that result in concurrent IO operations

I have tested the service independently , it works fine but does not work with the workflow.

To test my point , after the workflow triggers service first time. i stopped IIS and it worked fine so it is the IIS that is trigger the service multiple times depending on the size of the file.

How can i prevent the multiple calls

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,608 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amos Wu-MSFT 4,051 Reputation points
    2020-11-20T03:16:09.683+00:00

    According to your description, it should be that the workflow waited too long for the response, and automatically requested the Rest again.
    You could try to reset some attributes related to the workflow manager's HTTP request, such as WorkflowServiceMaxHttpResponseTime,WorkflowServiceMaxHttpRetryDelay.
    You could refer to this issue to set the workflow manager:https://sharepoint.stackexchange.com/questions/95614/how-to-change-timeout-for-httpsend-activity


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.