Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WaitForWorkflowToComplete resulting in multiple API calls while waiting for Workflow to Complete #75

Open
adamrouse opened this issue Jun 3, 2021 · 0 comments

Comments

@adamrouse
Copy link

Since Dynamics 365 is monitoring API requests, and limits per user start at 20,000 requests per 24 hours. This function is causing 25+ API calls for a simple trigger of a workflow that takes 25 seconds or more to run. I see a delay of 1000 ms in this function, which explains why its doing the async call so frequently.

Is there any way to reduce the frequency of checks?

F12 Trace log showing multiple API calls to check status of the workflow, the workflow took minutes to complete, at 80 seconds of waiting, the button has made 100's of calls to check the status.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant