cancel
Showing results for 
Search instead for 
Did you mean: 

How to update UDF value using Business Rules?

dm080664
Explorer
0 Kudos
446

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

View Entire Topic
loepers
Advisor
Advisor

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