I'm creating automation, that would look at form submitted, and would provide groups based on selections ( may be multiple).
But I'm getting errors when iterating
"Failed to get value for adGroups.get(.): {{#env.split(", ")}}{{adGroups.get(.)}}{{/}}"
I know that lookup objects/tables have values.
Looks like the iteration is converting string into something else?
Or am I calling the iterated object wrong in this case?
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
Your rule appears to be using a lookup table / objects action to gather some data, and then you are trying to access that table within a long-format iterator over a list using the table's get() function. That will not work.
Long-format iterators can only access data from that scope and lower. Thus, your table data cannot be seen to use the implied {{.}} list element as a parameter. (And, even if that worked, there is another old defect where long-format iterators calling a function with a parameter will always pass the first item and not any others.)
Without seeing your entire rule for context, I suspect you will need to use some form of dynamic list searching with regular expressions as I describe in this article:
If you post the requested information from above, that may help the community offer additional suggestions. Thanks!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.