Code Fix: A SmartObject method nested in an expression in a K2 workflow does not update to use the correct SmartObject after deployment to SharePoint

  • 16 February 2021
  • 0 replies
  • 5 views

Badge +9
 

Code Fix: A SmartObject method nested in an expression in a K2 workflow does not update to use the correct SmartObject after deployment to SharePoint

KB003178

PRODUCT
K2 Five 5.3
K2 Five (5.3) Fix Pack 4

 

Issue Description

Deploying a K2 workflow, which contains a SmartObject method nested in an expression, to SharePoint via K2 Package and Deployment, results in an error when editing the expression and selecting the SmartObject property.

Error Message

The following error is presented: “SourceCode.SmartObjects.Client.SmartObjectNotFoundException: SmartObject [SmartObject GUID] could not be found.

at SourceCode.SmartObjects.Client.SmartObjectClientServer.GetSmartObject(Guid guid)

at SourceCode.WebDesigner.FrameworkForms.FrameworkBase.GetSmartObjectInputs(String InputData, String ExtraData)”.

Resolution

  1. Ensure you have K2 Five (5.3) installed.
  2. Download the K2 Five (5.3) FP4 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.3) FP4 to apply the fix.
  4. It is recommended to refresh the browser cache.

Considerations

Running instances will need to be updated manually. Faulty deployed workflows will need to be redeployed or fixed manually.

 


0 replies

Be the first to reply!

Reply