Code Fix: An error occurs when deploying a workflow containing a File property
KB003173
PRODUCT
Issue Description
When an event in a workflow contains a SmartObject File property and you use the get list method of the SmartObject to return data, an error occurs when you deploy the workflow.
Error Message
The following error occurs: “Missing reference at SmartObjectField in Event ‘Program Manager Notification Less’ in Activity ‘Program Manager Notification Less’. Error: While trying to resolve the following reference root.externalReferenceDefinitions[{“InternalId”:43}]. Methods[{…”
Resolution
- Ensure you have K2 Five (5.3) installed.
- Download the K2 Five (5.3) FP3 from K2 Partner and Customer Portal.
- Install the K2 Five (5.3) FP3 to apply the fix.
- It is recommended to refresh the browser cache.
Considerations
Existing workflows with this issue need to be re-opened and re-deployed.
If a workflow was loaded from KPRX or from K2 Package and Deployment, this fix will not be able to address the issue as there are no recovery points.