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:
I am actually having the same issue and have been unable to figure it out.
If there is just one name in the License Assignees field, automation fails to get a value for this:
{{object.License Assignees.size}}
If I have two or more names in the field, it works fine.
I just noticed something since i continued to check this
Any time i add a second or more users in my user's field , the values are populated with the user ids, while if i have a single user, tha value is populated with the user's name.
Is this something that matters or should any parameter be passed in the automation rule
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.