A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi Neha, Thanks for the response! I had to work around and reuse the approval task to solve the issue.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are in SP Online and using a SP designer 2010 workflow that has multiple Start Approval process actions. When compiling the workflow, it errors out as "Errors were found when compiling the workflow. The workflow files were saved but cannot be run. Unexpected error on server associating the workflow".
I see solutions by increasing the UserDefinedWorkflowMaximumComplexity property for the webapplication. I do not see an option to set this in SP Online via Online Management shell. Any advise would be appreciated.
Thanks,
Anitha
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hi Neha, Thanks for the response! I had to work around and reuse the approval task to solve the issue.
Hi Anitha,
Did you check the above reply? Please update us when you have time.
Regards,
Neha
Hi Anitha,
The property UserDefinedWorkflowMaximumComplexity can be used if you are using SharePoint server 2013/2010. Since you are using SharePoint online, this may not work for you. Please check this article for reference.
The multiple Start Approval Process action contains multiple nodes, this makes compilation restricted. At that point, the larger workflows need to be restructured to either have more reusable pieces or be broken out into smaller individual small workflows.
Additionally, you can also try using SharePoint 2013 workflow platform type to create the workflow, see if this works.
Thanks,
Neha