-
Suggestion
-
Resolution: Unresolved
-
None
-
7
-
4
-
Summary
Automation functions don't work on the Assets object and field attributes.
The text functions will not work with Assets text type attributes (except for the default Name attribute)
Steps to Reproduce
- Add a text attribute to one of the object types and set a value for an object
- Create an automation rule to check if the text attribute equals a specific string
Expected Results
Able to use the text functions and the below value returns true or false depending on the attribute value:
{{issue.AssetsCustomFieldName.AttributeName.equals("Vendor1")}} OR {{object.AttributeName.equals("Vendor1")}}
Actual Results
The text functions don't work on the Assets text attributes. The below smart value is empty, when it should return true or false:
{{issue.AssetsCustomFieldName.AttributeName.equals("Vendor1")}}
While the below smart value returns the string:
{{issue.AssetsCustomFieldName.AttributeName}}
Though these functions work on the default Name attributes of the Assets objects.
{{issue.AssetsCustomFieldName.Name.equals("Vendor1")}}
Workaround
The following knowledge base article details workarounds for this bug as well as other automation functions impacted in a similar way: Workaround for using smart value functions with Assets data in Automations
An example use of the workaround mentioned in the article:
- Create a variable "textvalue" to store the asset attribute value:
{{issue.AssetsCustomFieldName.AttributeName}}
- Then use the below functions on the variable name:
{{textvalue.equals("Vendor1")}}
- is related to
-
JSDCLOUD-10177 Automation smart value date time functions do not work on the Assets date time attributes
-
- Closed
-
- mentioned in
-
Page Failed to load