cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vermaaman
Level: Powered On

Assign approval task based on job title like “General Manager” or "Director" or "Business Mangaer"

Greeting of the day,

 

I am fairly new with MS flow, please forgive me if my question sounds silly.

I am trying to create a approval flow and trigger when an item is added in the sharepoint list, next step business want is to create a approval process and assign to the any one of the employess with job titles like "General Manager" or "Director" or "Business Manager", i also want these employees (like "General Manager" or "Director" or "Business Manager") to come from the user's oraganization's hierarchy.

For Example.

Associate1 (Createdby) >> Manager1 >> Senior Manager1 >> General Manager1 or director or business manager

Associate2 (Createdby) >> Manager2 >> Senior Manager2 >> General Manager2 or director or business manager

 

i tried using office 365 connector but could not go far with that, also suggested my business that we can maintain a list of approvers in custom list and let user's select any one of the approvers when adding the item using form, unfortunately that didn't work for them.

 

So far i have/know no way to achieve this and not even sure if this is achievable.

 

Your help would be highly appreciated on this matter.

 

Thank you!

4 REPLIES 4
Super User
Super User

Re: Assign approval task based on job title like “General Manager” or "Director" or "Business Mangaer"

@vermaaman 

When you say that you used the Office 365 connector, do you mean the Office 365 Users connector?  You can pull the job title for anyone in your organization assuming that it has been populated.

 

The bottom line is that you need somewhere from which you can pull this information - the preferred way to pull the info is via the Office 365 Users connector (job title column/field).

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Community Support Team
Community Support Team

Re: Assign approval task based on job title like “General Manager” or "Director" or "Business Mangaer"

Hi @vermaaman ,

 

Is your confusion that the job title property was not found?

If you have assigned an employee's job title, you can use Get user profile (V2) action in Office 365 users connector to get Job Title. Then you could use Job Title to determine the approval order.

The following screenshots you can have a reference:

t1.png

Please have a try, I hope it will help you.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
vermaaman
Level: Powered On

Re: Assign approval task based on job title like “General Manager” or "Director" or "Business Mangaer"

Thank you @v-bacao-msft, i can see it's a nice way to get employees belong to only one jobtitle i.e. "General Manager" in your example, however what would be the best approach to get employee belonging to multiple jobtitles like Business manager and Directors?

 

is there any way we can query more than one jobtitles and get the user's details?

 

Thank you for the advice again, much appreciated..

Community Support Team
Community Support Team

Re: Assign approval task based on job title like “General Manager” or "Director" or "Business Mangaer"

Hi @vermaaman ,

 

Currently, the user info that can be obtained through Flow is included in the Body of Get user profile action.

 

If you want to see if the user belongs to multiple job titles, you can add multiple rows to Condition and then use contains to determine if the Job title contains the titles you mentioned.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 325 members 6,226 guests
Please welcome our newest community members: