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
  • 7 views

Badge +5
 

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

KB002491

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

 

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 Five (5.1) installed.
  2. Get the K2 Five (5.1) FP4 from Regional Support.
  3. Install the K2 Five (5.1) FP4 to apply the fix.

Considerations

If the user intends on using decimals, then the period"." 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