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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to Manage Action a...
Power Automate
Answered

How to Manage Action and Approval flow

(0) ShareShare
ReportReport
Posted on by 1

Hi,

 

I am newbie in this application. We have requirement about workflow approval for work order & helpdesk ticketing.

Currently, we explore power apps, sharepoint, and flow but stuck in the approval path.

 

Our scenario is, we have 2 approver. How can we assign the approver based on who apply the request or which type of work.

example: 

 

Approver 

Approver A only approve request from requestor A

Approver B only approve request from requestor B

 

Approver A:                           Approver B:                                    

Type of work                         Type of work

- Change request                - New request

- Bug Fixing                         - enhancement

 

Thank you

Noble

 

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @victoria_noble,

     

    Could you please share more details about the data structure in your SharePoint?

    I suppose that you store the data of work orders in your SharePoint list. I have created a SharePoint list to store the data of Work Orders, the data structure as below:

    Requestor  Single line of text (requestor A, requestor B)

    TypeofWork  Choice (New request, Change request, Bug Fixing and Enhancement)

    RequestContent Single line of text

    5.JPG

     

    I have made a test on my side and please take a try with the following workaround:

    • Add “When an item is created” trigger.
    • Add a Condition, click “Edit in advance mode”, type the following formula:
    @and(equals(triggerBody()?['Requestor'], 'requestor A'),or(equals(triggerBody()?['TypeOfWork']?['Value'], 'Change request'),equals(triggerBody()?['TypeOfWork']?['Value'], 'Bug Fixing')))
    • Within “If/yes” branch of Condition, add “Start an approval”. Assigned to filed set to Approver A.
    • Within “If/no” branch of Condition, add a Condition 2, click “Edit in advanced mode”, type the following formula:
    @and(equals(triggerBody()?['Requestor'], 'requestor B'),or(equals(triggerBody()?['TypeOfWork']?['Value'], 'New request'),equals(triggerBody()?['TypeOfWork']?['Value'], 'Enhancement')))
    • Within “If/yes” branch of Condition 2, add “Start an approval”, Assigned to filed set to Approver B

    Image reference:2.JPG

     

    3.JPG

    The flow works successfully as below:4.JPG

     

    Bets regards,

    Kris

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard