In a BPM Script component, how in the Data Association can I use an expression to convert an argument from String to Decimal? I have a Process argument named percentage which is a string. I need to set the value of a data object called signed to either "Y" or "N" based on the percentage being greater than 0.4. Something like this:
(percentage > 0.4) ? "Y" : "N"
The problem here is that percentage is a string, so must be converted to a decimal value before the compare will work. I cannot find a function that allows that. I need something like parseDecimal(percentage), but the Expression Builder does not offer that for a string using a Simple Expression.
If it cannot be converted, is there another way to do this?