Error when publishing a SPO workflow

  • 9 April 2019
  • 2 replies
  • 13 views

Badge +1

When I publish my workflow to a SPO document library, I get this message :

Error publishing workflow. Workflow XAML failed validation due to the following errors: The total size of the activity XAML including the referenced XAML is greater than the maximum allowed size of 102400 KB. HTTP headers received from the server - ActivityId: c42855ad-3945-4c8b-a480-40bbacca8ff0. NodeId: . Scope: . Client ActivityId : bc4bd19e-90c5-8000-9946-9f33e358f8c0. The remote server returned an error: (400) Bad Request.

Correlation ID: d8a0bea1-21f3-4761-9e1e-f153946f48e5
Tenant ID: bcccbda4-a4dc-4cf5-b7cb-7a3869ac0856
Time (UTC): 2019-04-09 14:44:51

Thank you for your help.


2 replies

Userlevel 4
Badge +11

Hi,

 

it looks like that your workflow is too big to be compiled...is it a complex workflow? what happens if you try to publish a simpler workflow with, maybe, just one action in it? does it get published?

Badge +1

Hi,

Thank you for your answer, you are right. My workflow was too complex, with too many actions. I optimized it and now it works perfectly.

 

Reply