cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PDT2017
Helper II
Helper II

Department Approval (participation) Question

Hello All, 

I am attempting to build a flow based on the following process below, but I am stuck on how to set up the condition or switch once the responses are received. Essentially, we create a workbook request through power automate based on form submission. The requesting department would fill out the form to departments they selected to be affected via the form. Through the approval, the affected departments would select whether they wanted to participate or not. Those who selected yes would be added to a team to complete a checklist and add documents. Those who selected need more info would be added to a chat with the adaptive card to schedule a meeting, review documentation, etc. If all selected no, it would close out the request. 

 

Appreciate any thoughts and ideas! 

PDT2017_0-1649363241943.png

 

8 REPLIES 8
Rhiassuring
Super User
Super User

Hi there, 

I want to make sure I have this straight - I'm a bit thrown off by the word "workbook" in this (because of Excel connotations), so I am going to ignore it for now. 

I have a few questions, based on this understanding. (And I am starting with a single department to understand the flow, in the diagram.) 

Rhiassuring_0-1649392813986.png

 

Questions:

 

Is this selection made on a Microsoft Form?

What happens if the request is for Marketing and IT, and Marketing says "No" but IT says "Yes" to participating. Should someone be notified, or an amendment made? Does the request have to be resubmitted?

If both say "Yes" to participating, should they have any assignments in the MS Team? (You mentioned checklists that need to be filled out.) 

If both Marketing & IT say "Need More Info", are they added to the same chat with the adaptive card, or are they separated based on department? Is this a never-ending same chat every time situation? 

 

Cheers,


Rhia

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



PDT2017
Helper II
Helper II

Thanks for responding! Essentially the workbook is just a word document prefilled by the MS Form responses and converted into a PDF document.

The goal is to start a “policy workbook” to introduce a new policy or change an existing department.

 

The requesting department would fill out the MS form and select the affected departments on the form and add in the policy information.

PDT2017_7-1649425972464.png

PDT2017_8-1649425986830.png

 

Code

PDT2017_9-1649426026549.png

The “policy workbook” gets automated in a PDF with the form responses and updates our SharePoint list (tracker).

PDT2017_10-1649426193109.pngPDT2017_11-1649426217158.png

My goal is to send the approval with the attached workbook from the requesting department to the departments affected.

PDT2017_12-1649426250515.png

 

PDT2017_13-1649426264245.png

From your example, if the Marketing department said “no” and IT said “yes,” the IT department would proceed to be added to the channel with the requesting department and begin an MS Planner checklist and submit other documentation.

The Requesting department would be notified (via email) that the marketing department said “NO” to participate and be provided the comments as to why not. Then, they would have to resubmit the request to this department to start again (Unless it’s another option).

 

If IT says they “needed more information,” they would be added to an MS Teams chat (with the persons representing that department) with the requesting department to discuss scheduling a meeting or quickly clarify the more information required with the attachment (hopefully using the adaptive card).

 

If they say they need more information and it’s discussed, the chat should go away. If they proceed, everything would reroute to saying yes to the approval, and any further discussion would be in the channel created.

Rhiassuring
Super User
Super User

Oh I see! It's a policy / procedure shindig. I gotcha now. How is it going with the Approvals - will all the departments respond within the 30 day limit of whether they will or will not participate? (That is my first concern so I want to validate it...) Are you emailing individuals of the departments, or, a department email address?

Okay, let's see, how would I deal with this - I'm going to assume everyone responds within 3 days. Hmm. I hate long-running flows, so I would probably split it into Getting the Approvals, logging them into a list (because you can't really access approvals any other way yet - the MS Graph team is working on it, as I understand), and then having a Flow trigger on that list to identify the folks who said "Request More Info", and doing a "For Each" on them to add them into their chats, and then on the folks who said "Approve", drop them into the Team. The "Request More Info" folks would maybe have a button on the adaptive card that's along the lines of "I get it now, I approve" that would add a line into that Approval list, and trigger the "add into Teams" workflow.

That's my first thought - but - this is a whole out requirements gathering jamboree, haha, lots of considerations. What were your initial thoughts on approach? Is my idea similar?


 

 

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



PDT2017
Helper II
Helper II

Exactly! No, to the 30 day limit. I would say if they haven’t responded in two weeks it will close (or pause the approval). I definitely want to send them reminders to review the approval after 1 day, 3 days, and a week before it warns them of closing (maybe in a later phase down the road lol going preptty big for my first flow already.)

 

It will be individuals representing each department that will be emailed. 

I did create a MS List that captures the workbook number and what phases it’s in and the submission details for the “Master List” so maybe I could send the approvals through there based on the response. 

I think splitting the responses and then creating the conditions is going to be the best way with having many different outcome scenarios. Otherwise I think I would have a whole lot of if then statements in conditions as I would have to list all scenarios individually. 

I LOVE your idea on the adaptive card action. That’s perfect for the Need More Info. 

Appreciate the feedback. 

Rhiassuring
Super User
Super User

This is your FIRST flow!? Nicely done - pretty impressive! 
Let us know how it goes - you have lots of pieces here to work through. 

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



Thank you! The pieces of this puzzle are starting to fit together! I was able to get the approval responses individually on the MS List.

 

PDT2017_0-1649796828477.png

 

 

I was also able to have it add those who accepted to the team based on the response and the “Workbook number” it assigns. Then it creates the channel and sends the adaptive card.

 

PDT2017_1-1649796828481.png

 

 

Still plenty of piecing to do, but it is coming together nicely!

Rhiassuring
Super User
Super User

Great work! 

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



PDT2017
Helper II
Helper II

Thank you! I have a question about the apply each to the condition. I notice when I included the create a channel option inside the apply each, it kept trying to duplicate the channel for each person on the list. I moved it outside of the apply each and it works great. My question is however if someone selected decline, would it attempt to still create a channel and post a message since I moved it on the outside? 

 

PDT2017_0-1649859440299.png

PDT2017_2-1649859676511.png

 

PDT2017_1-1649859610797.png

 

Helpful resources

Announcements

Update! June 13th, Community Ambassador Call for User Group Leaders and Super Users

Calling all Super Users & User Group Leaders   UPDATE:  We just wrapped up June's Community Ambassador monthly calls for Super Users and User Group Leaders. We had a fantastic call with lots of engagement. We are excited to share some highlights with you!    Big THANK YOU to our special guest Thomas Verhasselt, from the Copilot Studio Product Team for sharing how to use Power Platform Templates to achieve next generation growth.     A few key takeaways: Copilot Studio Cookbook Challenge:  Week 1 results are posted, Keep up the great work!Summer of Solutions:  Starting on Monday, June 17th. Just by providing solutions in the community, you can be entered to win tickets to Power Platform Community Conference.Super User Season 2: Coming SoonAll communities moving to the new platform end of July We also honored two different community members during the call, Mohamed Amine Mahmoudi and Markus Franz! We are thankful for both leaders' contributions and engagement with their respective communities. 🎉   Be sure to mark your calendars and register for the meeting on July 11th and stay up to date on all of the changes that are coming. Check out the Super User Forum boards for details.   We're excited to connect with you and continue building a stronger community together.   See you at the call!

Copilot Cookbook Challenge | Week 2 Results | Win Tickets to the Power Platform Conference

We are excited to announce the "The Copilot Cookbook Community Challenge is a great way to showcase your creativity and connect with others. Plus, you could win tickets to the Power Platform Community Conference in Las Vegas in September 2024 as an amazing bonus.   Two ways to enter: 1. Copilot Studio Cookbook Gallery:  https://aka.ms/CS_Copilot_Cookbook_Challenge 2. Power Apps Copilot Cookbook Gallery: https://aka.ms/PA_Copilot_Cookbook_Challenge   There will be 5 chances to qualify for the final drawing: Early Bird Entries: March 1 - June 2Week 1: June 3 - June 9Week 2: June 10 - June 16Week 3: June 17 - June 23Week 4: June 24 - June 30     At the end of each week, we will draw 5 random names from every user who has posted a qualifying Copilot Studio template, sample or demo in the Copilot Studio Cookbook or a qualifying Power Apps Copilot sample or demo in the Power Apps Copilot Cookbook. Users who are not drawn in a given week will be added to the pool for the next week. Users can qualify more than once, but no more than once per week. Four winners will be drawn at random from the total qualifying entrants. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once. If they are drawn multiple times, another user will be drawn at random. Prizes:  One Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value, does not include travel, lodging, or any other expenses) Winners are also eligible to do a 10-minute presentation of their demo or solution in a community solutions showcase at the event. To qualify for the drawing, templates, samples or demos must be related to Copilot Studio or a Copilot feature of Power Apps, Power Automate, or Power Pages, and must demonstrate or solve a complete unique and useful business or technical problem. Power Automate and Power Pagers posts should be added to the Power Apps Cookbook. Final determination of qualifying entries is at the sole discretion of Microsoft. Weekly updates and the Final random winners will be posted in the News & Announcements section in the communities on July 29th, 2024. Did you submit entries early?  Early Bird Entries March 1 - June 2:  If you posted something in the "early bird" time frame complete this form: https://aka.ms/Copilot_Challenge_EarlyBirds if you would like to be entered in the challenge.   Week 1 Results:  Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Copilot Cookbook Gallery:Power Apps Cookbook Gallery:1.  @Mathieu_Paris 1.   @SpongYe 2.  @Dhanush 2.   @Deenuji 3.  n/a3.   @Nived_Nambiar  4.  n/a4.   @ManishSolanki 5.  n/a5.    n/a   Week 2 Results:  Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Copilot Cookbook Gallery:Power Apps Cookbook Gallery:1. Kasun_Pathirana1. ManishSolanki2. cloudatica2. madlad3. n/a3. SpongYe4. n/a4. n/a5. n/a5. n/a

Win free tickets to the Power Platform Conference | Summer of Solutions

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**

Celebrating the June Super User of the Month: Markus Franz

Markus Franz is a phenomenal contributor to the Power Apps Community. Super Users like Markus inspire others through their example, encouragement, and active participation.    The Why: "I do this to help others achieve what they are trying to do. As a total beginner back then without IT background I know how overwhelming things can be, so I decided to jump in and help others. I also do this to keep progressing and learning myself." Thank you, Markus Franz, for your outstanding work! Keep inspiring others and making a difference in the community! 🎉  Keep up the fantastic work! 👏👏 Markus Franz | LinkedIn  Power Apps: mmbr1606  

Your Moment to Shine: 2024 PPCC’s Got Power Awards Show

For the third year, we invite you, our talented community members, to participate in the grand 2024 Power Platform Community Conference's Got Power Awards. This event is your opportunity to showcase solutions that make a significant business impact, highlight extensive use of Power Platform products, demonstrate good governance, or tell an inspirational story. Share your success stories, inspire your peers, and show off some hidden talents.  This is your time to shine and bring your creations into the spotlight!  Make your mark, inspire others and leave a lasting impression. Sign up today for a chance to showcase your solution and win the coveted 2024 PPCC’s Got Power Award. This year we have three categories for you to participate in: Technical Solution Demo, Storytelling, and Hidden Talent.      The Technical solution demo category showcases your applications, automated workflows, copilot agentic experiences, web pages, AI capabilities, dashboards, and/or more. We want to see your most impactful Power Platform solutions!  The Storytelling category is where you can share your inspiring story, and the Hidden Talent category is where your talents (such as singing, dancing, jump roping, etc.) can shine! Submission Details:  Fill out the submission form https://aka.ms/PPCCGotPowerSignup by July 12th with details and a 2–5-minute video showcasing your Solution impact. (Please let us know you're coming to PPCC, too!)After review by a panel of Microsoft judges, the top storytellers will be invited to present a virtual demo presentation to the judges during early August. You’ll be notified soon after if you have been selected as a finalist to share your story live at PPCC’s Got Power!  The live show will feature the solution demos and storytelling talents of the top contestants, winner announcements, and the opportunity to network with your community.  It's not just a showcase for technical talent and storytelling showmanship, show it's a golden opportunity to make connections and celebrate our Community together! Let's make this a memorable event! See you there!   Mark your calendars! Date and Time: Thursday, Sept 19th Location: PPCC24 at the MGM Grand, Las Vegas, NV 

Tuesday Tip | Accepting Solutions

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   To enhance our collaborative environment, it's important to acknowledge when your question has been answered satisfactorily. Here's a quick guide on how to accept a solution to your questions: Find the Helpful Reply: Navigate to the reply that has effectively answered your question.Accept as Solution: Look for the "Accept as Solution" button or link, usually located at the bottom of the reply.Confirm Your Selection: Clicking this button may prompt you for confirmation. Go ahead and confirm that this is indeed the solution.Acknowledgment: Once accepted, the reply will be highlighted, and the original post will be marked as "Solved". This helps other community members find the same solution quickly. By marking a reply as an accepted solution, you not only thank the person who helped you but also make it easier for others with similar questions to find answers. Let's continue to support each other by recognizing helpful contributions. 

Users online (4,791)