In Workflow, Check if User is in a specific group

  • 4 June 2021
  • 1 reply
  • 23 views

I have an email step that I am going to be putting the name and email of the person assigned to the task. I have the info of the person who opens the task stored in a smart object. Our Users and Groups are stored in AAD. There will be 2 groups of people who will be working on the tasks. For one of these groups I would like to mask their information and replace their name and email with something else. All of the people will be part of one AAD group. All users in this group will be masked with the same thing. How do I check if a user is in a specific group from a workflow? 

 

For example:

Group 1: Jeff, Jim;  Group 2: Bob, Billy

Email: 

   this is a test email-

   Person Assigned: <Display Name>

   Person Email: <Email>

 

 

In the workflow I want to check if the person is part of group 2 and instead of showing their email (Bob@company.com) I want to show (Group2@company.com ). So if the person is Jeff it will show Jeff and Jeff@company.com and if the person is Bob (since Bob is in Group 2) it will show Group 2 and Group2@company.com.

 


1 reply

Hi,
I think there is a smartobject you can use in the workflow to get users by group.

Reply