Hello community,
I have followed the guide provided for the math operations in object automation and i have a strange issue:
I am using the below smart values and the math operator to calculate the remaining quantity in a field called Available.
Field Total with a fixed value that and the attribute type is integer
Used field as integer with the smart value {{object.User.size}} in the automation
Available field as integer with the smart value {{#=}} {{object.Total}} - {{object.User.size}} {{/}} in the automation

Whenever the result is greater than 2 the rule runs perfect
If the result is 1, meaning i have only one user selected in the User field the automation fails with the following:
Error rendering smart-values when executing this rule:
Missing parameter(s) for operator -: 10 -
What is wrong?
Thanks in advance for your help and your time.