Issue Description
When mapping a SmartObject to a Smartform parameter on a user task, the reference was lost after clicking away and clicking back on the user task. This resulted in SmartObject field displaying as an empty green block in the SmartForm parameter field and the user getting a missing reference error when trying to deploy the workflow.
Error Message:
The following error occurs: “Missing reference at SmartObjectField in Event 'Task' in Activity 'Task'. Error: While trying to resolve the following reference root.externalReferenceDefinitionso{"internalId":4}].methodso{"internalId":2}], an error occurred: reference not found.. Stack Location : K2Process 'testWorkflow' >Activity 'Task' >ClientEvent 'Task' >ClientEventConfiguration >SmartForm >FormParameter >Expression > Stack End.”
Resolution
The fix is available in:
- K2 Five (5.4) Fix Pack 45.
- K2 Five (5.5) Fix Pack 02.
- Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.
- Download the latest Fix Pack using the links in the table above for the version you require.
- Install the Fix Pack to apply the fix.
- It is recommended to clear browser cache and refresh the page.