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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,269)