Issue Description
Deployment fails for a workflow created in K2 Studio where an Item Reference property was used in another event.

Cause
On deployment, an update event is triggered in the project. The UI references a change event for the GUID property to update the UI when the value changes. The UI was waiting for the build to finish, but the Build was waiting for the UI to update the property which in turn caused a deadlock.

Repro Steps

  1. Open K2 Studio.
  2. Create a new workflow.
  3. Add “Create Reference” event and point it to a SmartObject.
  4. Add a SmartObject event, use one of the Item Reference Return Properties as input for the SmartObject.
  5. Deploy the workflow.
  6. The deployment hangs on the compiling progress bar.

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Install the K2 4.7 February 2017 Cumulative Update.
  3. Get the K2 4.7 February 2017 Cumulative Update FP4 from Regional Support.
  4. Install the K2 4.7 February 2017 Cumulative Update FP4 to apply the fix.