SOLVED

Multiple Approvers (Groups? Array?)

%3CLINGO-SUB%20id%3D%22lingo-sub-328560%22%20slang%3D%22en-US%22%3EMultiple%20Approvers%20(Groups%3F%20Array%3F)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328560%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3EHi%20all%2C%3C%2FP%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3EI%20have%20a%20basic%20flow%20setup%20for%20an%20approval.%20However%20each%20division%20has%20it's%20own%20list%20of%20approvers%20(i.e%20it%20might%20or%20might%20not%20be%20their%20direct%20manager).%3C%2FP%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3EI've%20a%20feeling%20I%20can't%20use%20a%20security%20group%20for%20these%20(if%20user%20is%20finance%20then%20use%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22mailto%3Afinance_approve%40company.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Efinance_approve%40company.com)%3C%2FA%3E%3F%20That%20anyone%2Fall%20from%20this%20group%20can%20approve%3F%3C%2FP%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3ECan%20I%20setup%20a%20variable%20for%20this%3F%20Can%20you%20create%20an%20array%20and%20called%20it%20%22Finance%20Approvers%22%20and%20populate%20the%20assigned%20to%20field%20with%20this%20array%3F%20I%20don't%20want%20to%20spend%20too%20much%20time%20maintaining%20this%20though.%3C%2FP%3E%3CP%20class%3D%22s90z9tc-10%20fHRkcP%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-328560%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-330558%22%20slang%3D%22en-US%22%3ERe%3A%20Multiple%20Approvers%20(Groups%3F%20Array%3F)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-330558%22%20slang%3D%22en-US%22%3E%3CP%3EDavid%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20could%20create%20Azure%20AD%20security%20groups%20and%20then%20use%20the%20Get%20Member%20action%20to%20pull%20users%20from%20that%20group%2C%20you%20could%20then%20create%20an%20array%20variable%20and%20append%20your%20group%20users%20to%20that%20and%20assign%20it%20to%20the%20approval%20step%20that%20way.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20623px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F71928i39F5B34C21A2E46B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22image.png%22%20title%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Contributor

Hi all,

 

I have a basic flow setup for an approval. However each division has it's own list of approvers (i.e it might or might not be their direct manager).

 

I've a feeling I can't use a security group for these (if user is finance then use finance_approve@company.com)? That anyone/all from this group can approve?

 

Can I setup a variable for this? Can you create an array and called it "Finance Approvers" and populate the assigned to field with this array? I don't want to spend too much time maintaining this though.

 

1 Reply
best response confirmed by David Gorman (Regular Contributor)
Solution

David,

 

You could create Azure AD security groups and then use the Get Member action to pull users from that group, you could then create an array variable and append your group users to that and assign it to the approval step that way.

 

image.png