Workflow XAML failed validation due to the following errors: Activity 'DynamicActivity' has ## arguments

  • 14 October 2014
  • 0 replies
  • 107 views

Userlevel 7
Badge +10

Products: Nintex Workflow for O365

 

Summary

The error "Error publishing workflow. Workflow XAML failed validation due to the following errors: Activity 'DynamicActivity' has ## arguments, which exceeds the maximum number of arguments per activity (50). HTTP headers received from the server - ActivityId: 00000000-0000-0000-0000-000000000000. NodeId: . Scope: . Client ActivityId : 00000000-0000-0000-0000-000000000000. The remote server returned an error: (400) Bad Request.”

 

Symptom

Workflow fails to publish.

 

image001.png

 

Cause

 

SharePoint Workflow Manager has a limitation of 50 arguments for a 'DynamicActivity'. A workflow is considered a dynamic activity as it can be nested inside of other workflows. Each variable configured in a workflow is considered an argument. Each Nintex Workflow Action that utilizes Nintex Live has two arguments associated with it (input and output).

 

Resolution

Reduce the amount of Variables and or reduce the amount of Nintex Live actions in the workflow.


0 replies

Be the first to reply!

Reply