Code Fix: Opening a workflow in the K2 Workflow designer results in an error

  • 16 February 2021
  • 0 replies
  • 3 views

Badge +9

Issue Description



When you have a deployed K2 Workflow which has been configured with an IF statement for the CC field of the task notification, when you edit the workflow in the designer an error occurs.



Error Message:



The following error occurs: “500: Unable to cast object of type 'SourceCode.WebDesigner.Framework.ObjectModel.Workflow.ConfiguredSmartFields.InlineFunctionField' to type 'SourceCode.WebDesigner.Framework.ObjectModel.Core.ConfiguredSmartFields.Expression'”



Resolution



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.



0 replies

Be the first to reply!

Reply