Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
0
-
5
-
Description
Issue Summary
When using "Lookup objects" action in an automation rule, the list functions like size, max do not work when used for attributes of the objects returned by the action
Steps to Reproduce
- Add a "Lookup Objects action". Lets say it returns an object
- You want to find the size of one of its attributes(lets say it has 3 values). You use the below smart-value:
{{lookupObjects.attributeName.size}}
Expected Results
It will return 3
Actual Results
It will return the size of the lookupObjects i.e. 1 and not the size of the attributes
Workaround
If your use-case returns only a single object for "Lookup Objects" action, create a global automation rule and use Branch on IQL. Then you can use the below smart-value which will give you the size of the attribute:
{{object.attributeName.size}}
However, if the "Lookup objects" action return multiple objects, no workaround is available at the moment
Attachments
Issue Links
- mentioned in
-
Page Loading...