Forum Discussion
How to use get direct reports in an workflow
Hi ADumith , if your aim is to capture all direct reports for an active account in a list you can do it like this, assuming you have a condition looking for AccountEnabled is true. I've tested this and it works well for me. The 'Create target user item' is not strictly necessary but I chose to keep a record of the email addresses I was entering during the test.
Hello jonlake
Thanks for reply.
I wondering, the steps Create target user item & Get direct report doesn't has any additional setting?
Thanks again,
- jonlakeApr 12, 2022Iron Contributor
Hi ADumith, the actions don't have any additional settings. The 'Create target user item' isn't necessary, it's just my way of creating a separate audit record of the profile used by the Flow.
- ADumithApr 12, 2022Iron Contributor
Hello jonlake
I apologize for being annoying, could you show me in an image how it would be?
I am a graphic person, so I learn more come.
Again, excuse me
- jonlakeApr 13, 2022Iron Contributor
Hi ADumith , here is the simplified full Flow, with all it's actions (except the 'If no' action, which is empty for the purpose of this test, but you may want some sort of notification). The condition is evaluating the 'Account enable?' value from the 'Get user profile' action: