Skip to main content

Hi everyone,

I'm working on automating a Decision within a process in IFS Assyst. I've added a custom field called "Project Hours", and I want the process to automatically take a certain path if the value entered in this field exceeds a specified threshold.

To achieve this, I tried using the following condition in the Decision:

$new.W("PROJECT HOURS").shortcode > 150 

Unfortunately, this condition doesn't seem to work as expected. Has anyone implemented something similar or could point out if there's something wrong with my expression? Appreciate any help or suggestions!

Thanks in advance.

Hello Ramesh,

I believe the custom field “PROJECT HOURS” type is set as integer? 
Integer data type does not support decimal values. If you want to evaluate something like >150.2 change the custom field data type to string

If the custom field type is either integer or string use the following expression on the decision condition : $new.parentEvent.W("PROJECT HOURS").shortCode > 150


Thank you, Rajana. It works.


Reply