Code Fix: Missing reference error occurs when deploying a workflow

  • 20 August 2021
  • 0 replies

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.externalReferenceDefinitions[{"internalId":4}].methods[{"internalId":2}], an error occurred: reference not found.. Stack Location : K2Process 'testWorkflow' >Activity 'Task' >ClientEvent 'Task' >ClientEventConfiguration >SmartForm >FormParameter >Expression > Stack End.”


The fix is available in:


  1. Ensure you have the correct K2 version and/or Cumulative update installed. See KB001893 to see what Fix Pack level you have installed.

  2. Download the latest Fix Pack using the links in the table above for the version you require.

  3. Install the Fix Pack to apply the fix.

  4. It is recommended to clear browser cache and refresh the page.

0 replies

Be the first to reply!