Code Fix: When using a SmartObject return property in a SmartObject step, the property is added to the input array instead of the return array

  • 16 February 2021
  • 0 replies
  • 3 views

Badge +9
 

Code Fix: When using a SmartObject return property in a SmartObject step, the property is added to the input array instead of the return array

KB002713

PRODUCT
K2 Five 5.1
K2 Five (5.1) Fix Pack 23

 

Issue Description

When you design a K2 workflow and use a SmartObject return property in a SmartObject step, the property is automatically added to the input array instead of the return array, causing an error at design time in the SmartField.

Error Message

The following error occurs at design time in the SmartField: “Could not resolve enum”.

Resolution

  1. Ensure you have K2 Five (5.1) installed.
  2. Download the K2 Five (5.1) FP23 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.1) FP23 to apply the fix.
  4. Refresh the browser cache.

Considerations

After installing the Fix Pack, follow these steps:

  1. Edit the workflow.
  2. Re-configure the workflow step where the return property was used.
  3. Wait for loading to complete and move the properties to the correct array.
  4. Re-deploy the workflow.
  5. Start a new instance.

 


0 replies

Be the first to reply!

Reply