Summary
Automation functions don't work on the Assets attributes.
The automation conditional logic will not work with Assets attributes (except for the default attributes like Name, Key, etc.)
Steps to Reproduce
- Add a text attribute to one of the object types and set a value for an object
- Create an automation rule using conditional logic to add a comment to set an additional approver if the reporter of an issue and the Approver selected in the Application are the same.
Expected Results
The comment "Add another approver for review because reporter and approver" is added when the reporter and approver are the same user. And the rule fails to add a comment when the condition doesn't meet.
Actual Results
The rule fails in both the scenarios with error "Comment body can not be empty! " because the conditional logic returns nothing even if the value of the reporter and approver matches.
Workaround
- Create a variable "AppVar" to store the asset attribute value of the approver:
- Then use the conditional logic instead: