When attempting to publish a workflow within the Nintex Workflow for Office 365 designer, the workflow fails to publish and the designer shows the error: "Error publishing workflow. Object reference not set to an instance of an object."
- From the ribbon within the workflow designer, open the Variables menu.
- Identify the variables with Initiation set to Yes that are of Integer type.
- If any of the identified variables are not currently in use, delete and re-create them.
If this was all of the identified variables, you should now be able to publish successfully. If any of the identified variables are currently in use they will have to be manually updated within the workflow definition by Nintex Support. Export the workflow file and send it to email@example.com
with the identified variables