-
Bug
-
Resolution: Fixed
-
Medium
-
12
-
Severity 3 - Minor
-
3
-
Issue Summary
In Automation AQL condition switches to the Issue field tab even though the rule has an object trigger.
Steps to Reproduce
- Create an automation with Object Trigger.
- Add a branch with AQL.
- Now below the object trigger, add the AQL condition.
Expected Results
- It should allow the query to be entered in the Object Tab.
Actual Results
- The object Tab is grayed out and the Issue tab is by default selected with a random custom field.
Workaround
Steps:
- Substitute "AQL Condition" with "Lookup objects" action
- Copy the Query from "AQL Condition" to "Lookup objects" action
- Append "AND Key = object" to the AQL used in AQL condition i.e:
"Model Name" IS Empty AND Key = {{object}}
- Add "Smart values Condition" to compare "lookupObjects.size" and:
- Equals 1 (for True) OR
- Does not equal 1 (for False)
Reference documentation:
- Lookup Object action does not count towards automation usage
- Lookup Object action