How to resolve this error " 'ProcessKey' is not editable. (#1024)" when unable to change the Process settings from Orchestrator?
Issue Description: When trying to change/modify a process from Orchestrator UI, the user is unable to do it and receives the below error message.
-
'ProcessKey' is not editable. (#1024)
The same can occur via a POST RestAPI request for https://ORCHESTRATOR_HOSTNAME/odata/Releases/UiPath.Server.Configuration.OData.EditRelease
Example of error result:
{"message":"'ProcessKey' is not editable.","errorCode":1024,"traceId":"xxx-xxx-xxxx-xxx"}
Root Cause:
The ProcessKey is auto-generated when creating the process, from the package name, so it could be that the process metadata was corrupted.
Resolution: To overcome this behavior, the impacted process needs to be recreated. This will force the process metadata to be re-created (including the process key and the properties).
- Delete the old process from the folder
- Delete the package from Tenant -> Packages
- Re-upload the package in the Tenant -> Packages
- Add the process in the Folder.