Code Fix: When a workflow contains a mathematical sum or minimum inline function, the workflow goes into an error state

  • 16 February 2021
  • 0 replies
  • 3 views

Badge +9
 

Code Fix: When a workflow contains a mathematical sum or minimum inline function, the workflow goes into an error state

KB002469

PRODUCT
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

When running a K2 workflow configured with an Email event where the event contains a mathematical sum or minimum inline function with multiple values such as “100, 200”, the workflow goes into an error state.

Error Message

The error message states: “Input string was not in the correct format” or “Unable to cast result”.

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Download and Install the K2 4.7 March 2018 Cumulative Update from K2 Partner and Customer Portal.
  3. Get the K2 4.7 March 2018 Cumulative Update FP11 from Regional Support.
  4. Install the K2 4.7 March 2018 Cumulative Update FP11 to apply the fix.
  5. Start a new instance of the K2 workflow.

 

Considerations

If the user intends on using decimals, then the fullstop"." is the decimal separator and not the comma ",". This is due to the comma being used to separate each item in the array of values for Inline Functions.

 


0 replies

Be the first to reply!

Reply