Symptoms
When trying to copy a Nintex workflow, one of the following messages is displayed:
- The permissions of the Nintex workflow constant 'Constant Name' have been changed from Administrators Only to your user only to prevent an issue present in Nintex workflow 2010.
- Detected use of a workflow constant 'Constant Name' which does not exist or is not allowed for the current user in the action 'Action Name'. The workflow cannot be published.
Error code
ST-270-171
IN-708-171
Details
This error occurs when copying a Nintex Credentials Constant at the farm level with its permission is set to Server Farm administrators on a Sharepoint 2010 environment. There is an issue with this type of Nintex constant at the moment. The issue isn't about the migration of the constant, it's about the fact that it is impossible to reference a credentials farm constant in a workflow, if the permission is set to Server Farm administrators.
Solution
- If you received the message The permissions of the Nintex workflow constant 'ConstantName' have been changed from Administrators Only to your user only to prevent an issue present in Nintex workflow 2010 :
During the migration, Sharegate will set the permission to 'Specific users' and add the user doing to migration to the list. Other than the permission being changed, the constant will be properly copied to the destination. We recommend that after the migration, you add all the other Farm Administrators to the Specific users list to make sure they all have access to the constant.
- If you received the message Detected use of a workflow constant 'Constant Name' which does not exist or is not allowed for the current user in the action 'Action Name'. The workflow cannot be published. :
We recommend that you add all the Farm Administrators to the Specific users. Once this is done, you need to publish the workflow that failed to copy at the destination.