REST: "Item has already been added" error when deploying
kbt158057
PRODUCTIssue
An error appears when trying to deploy a 'Company Creation' process with the following message:
"Missing reference at SmartObjectField . Error: Item has already been added. Key in dictionary: Key being added: 'xxxxxx_xxxxx_xxxxxx'. Stack Location : K2Process 'Company Creation' > Stack End."
This halts deployment as the error does not go away.
Symptoms
The error occurs within a REST based type SmartObject whereby it has its methods generated via a REST Service instance.
If the SmartObject gets removed here this appears to work as expected. Furthermore, the issue happens when trying to deploy. Saving the workflow causes no issues. No errors can be seen when opening the process.