How can I remove decimal from Serial Number in the RITM

Francesco4
Tera Contributor

Hi all,

how can I remove decimal from serial number using Run Script on a Workflow?find_real_file.png

find_real_file.png

I already used Math.trunc(), Math.round(), parseInt(), stripDecimals() and nothing of these is working.

Could someone help me please?

Thanks in advance

 

6 REPLIES 6

Allen Andreas
Administrator
Administrator

Hi,

Is that field type an Integer or String?


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Francesco4
Tera Contributor

Hi all,

I resolved with this. 

Thank you anyway.

find_real_file.png