Answered by:
Designing a workflow for performance using SharePoint 2013 workflow

Question
-
Hello, and thank you in advance. I am in the process of designing a workflow and this variation I thought may improve performance. This is a multi-step workflow which will have 8 workflows (instead of packing it all into one). Each workflow will be executed based on a dollar amount in the list item.
When a list item is created do all 8 workflow files get stored in memory? Will there be performance issues? I'm more curious what happens behind the scenes.
Thanks.
Thursday, July 18, 2019 4:27 PM
Answers
-
Hi AdamDoubleYou,
If you create workflows using SharePoint designer everything will be stored in the content database.
Testing has confirmed that a SharePoint web server can activate a maximum of 6 workflow instances per second. This number is cumulative, and therefore scales with the number of web servers in the farm. For example, 2 web servers can activate 12 workflow instances per second, and 3 web servers can activate 18.
More information:
https://docs.microsoft.com/en-us/SharePoint/install/software-boundaries-and-limits#Workflow
Given your situation, running 8 workflows at the same time doesnot cause performance issues.
And it's a good idea to execute the sub-sequent 8 workflows through a parent workflow.
Best regards
Itch Sun
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click here to download it.
Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.- Proposed as answer by Grace WRMicrosoft contingent staff Tuesday, July 23, 2019 9:27 AM
- Marked as answer by AdamDoubleYou Wednesday, July 24, 2019 2:09 PM
Friday, July 19, 2019 2:58 AM
All replies
-
Here is the behind the scene
http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/03/12/sharepoint-workflow-architecture-part-3.aspx
Please remember to click Mark as Answer on the answer if it helps you
Thursday, July 18, 2019 5:57 PM -
Your workflow design doesn't have any impact on your performance.
Please remember to click Mark as Answer on the answer if it helps you
Thursday, July 18, 2019 6:02 PM -
Would it be more efficient if I had a parent workflow execute the sub-sequent 8 workflows? My concern is that by running 8 workflows consecutively they all get stored in memory at once, possibly causing a performance spike. By only loading 1 parent workflow, it could reduce this spike. Any thoughts on my theory? Thanks.Thursday, July 18, 2019 7:46 PM
-
Hi AdamDoubleYou,
If you create workflows using SharePoint designer everything will be stored in the content database.
Testing has confirmed that a SharePoint web server can activate a maximum of 6 workflow instances per second. This number is cumulative, and therefore scales with the number of web servers in the farm. For example, 2 web servers can activate 12 workflow instances per second, and 3 web servers can activate 18.
More information:
https://docs.microsoft.com/en-us/SharePoint/install/software-boundaries-and-limits#Workflow
Given your situation, running 8 workflows at the same time doesnot cause performance issues.
And it's a good idea to execute the sub-sequent 8 workflows through a parent workflow.
Best regards
Itch Sun
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click here to download it.
Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.- Proposed as answer by Grace WRMicrosoft contingent staff Tuesday, July 23, 2019 9:27 AM
- Marked as answer by AdamDoubleYou Wednesday, July 24, 2019 2:09 PM
Friday, July 19, 2019 2:58 AM -
Hi ,
Has this problem been solved?
If you think the replies are helpful to you, please remember to mark them as answers. It will help others who meet the similar question in this forum.
Thank you for your understanding.
Best regards
Itch Sun
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
SharePoint Server 2019 has been released, you can click here to download it.
Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.Wednesday, July 24, 2019 9:25 AM