on ‎2022 Dec 21 5:58 PM
Hello,
I'm trying to update an integer UDF value using a simple business rule.
My goal is to increase the value of this field by one every time the event is triggered.
This is the Action:

My field was originally udf.Bolla = 100
Variable myBolla is initialized with udf.Bolla
After the rule is run, the value is: udf.Bolla = 100+1
It looks like the value is always managed as a string, even if the UDF field is declared Integer.
How can I fix this issue?
Thank you in advance for any useful hint.
Davide
Request clarification before answering.
Dear Davide,
in FSM Business Rules, everything that is written between ${ and } is interpreted as JavaScript code.
So I would suggest to write Value as ${myBolla+1}.
Best regards,
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefanie,
thank you very much for your kind answer: it works!
A smart answer for a stupid question... 🙂
Thank you again and take care.
Davide
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 8 | |
| 4 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.