cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ray_Garza
Advocate III
Advocate III

using both everyone must approve and first to approve

Hello everyone,

 

I need suggestions on how to tackle this business requirement for an approval workflow. This workflow will have two stages:

  • Stage 1 is an Everyone must approve to go to Stage 2
  • Stage 2 is a first to respond

Has anyone done a combo approval like that?

 

I send the workflow step name so I was thinking of a condition to check what workflow step name I'm in and then run the appropriate flow. Not sure if that is the correct way of doing it. Any suggestions? Maybe reformat the JSON input to accommodate the two different types of approval flows?

 

UPDATE:

Just realized that a more complete example would be for Stage 1, there will be five to six departments with at least two users per department. Anyone in each department can reply (First to Reply) but all departments must respond before moving on to Stage 2.

 

Stage two is just one department with two users and anyone can reply (First to Reply).

 

Now I'm thinking of a parallel approval (First to Reply) to all the departments in Stage one then, the last Approval (First to Reply) for stage 2.

 

Right now my JSON input sends the workflow like this example:

{
  "workflowStage": [
    {
      "Id"5,
      "requestor""Ray Garza",
      "requestorEmail""Ray.Garza@utrgv.edu",
      "eventName""LOA Request",
      "WkfStepName""Pending Approval",
"emailLink": "https://www.apple.com",
"emailCC": "",
"emailBCC": "",
      "Approvers": [
        {
          "WkfFullName""Nathan Pena",
          "WkfEmail""nathan.pena@utrgv.edu"
        },
{
          "WkfFullName""Pascual Trevino",
          "WkfEmail""pascual.trevino01@utrgv.edu"
        }
      ]
    },
{
      "Id"5,
      "requestor""Ray Garza",
      "requestorEmail""Ray.Garza@utrgv.edu",
      "eventName""LOA Request",
      "WkfStepName""Final Review",
"emailLink": "https://www.apple.com",
"emailCC": "",
"emailBCC": "",
      "Approvers": [
        {
          "WkfFullName""Efren Martinez",
          "WkfEmail""efren.martinez02@utrgv.edu"
        },
{
          "WkfFullName""Pascual Trevino",
          "WkfEmail""pascual.trevino01@utrgv.edu"
        }
      ]
    }
]
}
1 ACCEPTED SOLUTION

Accepted Solutions
PrasadAthalye
Community Champion
Community Champion

I had the same exact requirement that you have for Stage 1. Create Parallel branches and use Scopes to structure them. On Each Flow Approval within scope, you can add multiple approvals with the First to approve setting. Then you can check all of their approvals finally and take the next action. Refer Below...

 

PrasadAthalye_0-1612490264638.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

2 REPLIES 2
PrasadAthalye
Community Champion
Community Champion

I had the same exact requirement that you have for Stage 1. Create Parallel branches and use Scopes to structure them. On Each Flow Approval within scope, you can add multiple approvals with the First to approve setting. Then you can check all of their approvals finally and take the next action. Refer Below...

 

PrasadAthalye_0-1612490264638.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

@PrasadAthalye So I'm on the right track for parallel in stage 1. Capture each department responses then when all departments finished approving start stage 2 with its own approval. I found the tutorial on doing parallel approval flows so I'll use that as a starting point.

 

Thanks,

Ray

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,388)