The "Find Users" activity empowers you to locate users based on specified search criteria. For detailed guidance on constructing search conditions, please refer to the "Condition Searching in Workflow Activities" guide.
When conducting user searches, you can specify conditions based on the following fields:
- Username
- Display Name
- Mobile Phone Number
- Desk Phone Number
- Custom Attributes (e.g., Job Title)
Example
Consider the following example where we search for users with the usernames "user01" and "user02." Importantly, neither of these users needs to exist within Heed; if they are not found, no results will be returned.
To execute this search:
- Add a new Find Users activity to your workflow.
- Since we are looking for two users with different usernames, select the Or composition mode.
- Click Add Conditions and enter the first condition for "User01."
- Click Add Conditions again and input the condition for "User02."
- Once both conditions are entered, click Save.
Result
This activity will yield the following output:
- users: An array of users, each featuring properties such as:
- Username
- Display Name
- Mobile Phone Number
- Desk Phone Number
- count: The number of users found based on the specified conditions.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article