web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Workflow check condition based on record owner's team membership

(0) ShareShare
ReportReport
Posted on by 95

I am trying to create a check condition in a workflow that is triggered on change of a field within a Case record.

I want the check condition to allow the workflow to proceed only if the Query record owner (the user) is a member of either Team A, Team B or Team C.

I can list all individual team members in the check condition, but that is time consuming and requires updating every so often. I can't use the 'Owning team' choice as this only works if the team itself owns the record, rather than an individual.

I have tried this both in the classic Dynamics background workflows and with MS Flow, but simply cannot seem to make the link between the Case record, the owning user and the owning user's team.

Any suggestions are appreciated.

  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Partner,

    Maybe you can try to use workflow Tools, it has one tool:Check If User is in Team

    This step is very usefull to check if the user that initialized the Workflow execution, is a mamber of a specified Team.

    https://github.com/demianrasko/Dynamics-365-Workflow-Tools/blob/master/docs/Check%20If%20User%20is%20in%20Team.md 

    Or you can try to use js or power automate to check it:

    Perhaps you could refer to my response under a similar question earlier:

        

    User and Team are N:N relationship, which means that one user can be associated with multiple teams.

    Workflow Tools add-on can make you check if the user is member of a team or not, but it needs you input team manually.

    If you want to list all teams related to the user directly, workflow can't achieve it, you need try to use js or power automate to retrieve all related teams.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 45 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 34 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 30 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans