smajumdar
(Saurav Majumdar)
January 20, 2026, 4:07pm
1
Hi,
I have a search query with attribute.adManagerDn:“*John Doe*” which runs fine, but when I add it to a workflow, the same query does not return any results. Is there a specific step I am missing? Any suggestions or ideas would be appreciated.
Thanks.
kompala
(Vidya Sagar Kompala)
January 20, 2026, 4:10pm
2
@smajumdar How many results do you get when you run the query in search UI. Workflow has a limitation on number of items it can handle in Loop.
smajumdar
(Saurav Majumdar)
January 20, 2026, 4:25pm
3
So I get about 30 results in Search tab itself, but no results when I run the query through the workflow.
trettkowski
(Tyler Rettkowski)
January 20, 2026, 4:29pm
4
@smajumdar
Can you please provide us your workflow step that you’re using to call search?
smajumdar
(Saurav Majumdar)
January 20, 2026, 4:38pm
5
Below are the screenshots. I have included:
Steps
Define Variable: returns the expected string for the search query
Configuration of the Search query
Step Input while running the workflow
The query running on the Search tab is: attributes.adManagerDn:“*John Doe*”
I have tried without the ““, but it doesn’ t return the expected results.
I have also tried putting the variable itself inside double quotes.
So, I created a variable to get the appropriate string.
trettkowski
(Tyler Rettkowski)
January 20, 2026, 4:41pm
6
Try wrapping the DefineVariable call into brackets. The workflow by default does not know to convert the value unless it’s wrapped in brackets like so:
attributes.adManagerDn:{{$.defineVariable.nameOfidentity}}
smajumdar
(Saurav Majumdar)
January 20, 2026, 4:49pm
7
Thanks a lot!!. It helped.