The only reference I saw to something like this was from 2016 and had no actual resolution (just a nebulous, "your workflow is too big" conversation). Which I might believe if a) we didn't have larger ones, and b) trying to restore back to the original, smaller workflow in development still causes the issue.
Recently we finished a list/form/workflow update and were asked to replicate the new piece to another, related list. After spending a good chunk of a day creating the couple new columns, updating the form and then adding the actions to the workflow in development we did some tests. Everything looked good other than I hadn't updated the text in the emails from the approval tasks.Â
So the following morning I began to add those same parts to production. After getting part of the way through I saved and kept going, on the next save attempt I received:
Oops! Something went wrong.
If the problem persists, contact your support team with the following information:
ButtonPanel - handleXamlBuildError : SyntaxError: Unexpected token 'P', "Publishing"... is not valid JSON
This happens intermittently. And when going back to development to try some things I immediately started seeing the issue there too. Basically Wednesday I was about 95% done in dev, Thursday start adding same actions to production and don't even get as far and the error starts up. Then see it on dev too.Â
We've had a ticket open with Nintex for days and they're looking into it. But maybe someone has recently seen this issue in the community? As I mentioned, even trying to restore things back to how we started in the development space, with less actions, to see what would happen resulted in the same error. Thanks!