Code Fix: K2 Studio workflow deployment fails when an Item Reference property was used in another event

  • 16 February 2021
  • 0 replies
  • 5 views

Badge +9
 

Code Fix: K2 Studio workflow deployment fails when an Item Reference property was used in another event

KB001834

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

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.

 


0 replies

Be the first to reply!

Reply