-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Assets - Automation
-
None
Automation smart value to get the value from the LoopUpTable using .get function does not work on the Automation AQL under LookupObjects.
For example, if we create an Automation Lookup Table with the following entries
| Key | Value |
|---|---|
| ABC | Value1 |
| XYZ | Value2 |
Issue:
When using this smart value within a lookup table, within a AQL such as below, we get an error
objecttype = <ObjecttypeName> and Key = {{LookupTableName.get("ABC")}}
Workaround:
- Dismiss the error message: While this might seem counterintuitive, dismissing the error message often allows the AQL query to save successfully and return the expected objects.
OR
Create a variable to store the lookuptable value
{{LookupTableName.get("ABC")}}
Call the variable within the AQL as below in the LookupObjects Action
objecttype = <ObjecttypeName> and Key = {{VariableName}}