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

Power Platform Connections Ep 15 | L. Baybutt | Thursday, 1 June 2023

Episode Fifteen of Power Platform Connections sees David Warner and Hugo Bernier talk to Microsoft MVP Lewis Baybutt aka Low Code Lewis, alongside the latest news and community blogs.   Use the hashtag #PowerPlatformConnects on social media for a chance to have your work featured on the show.        Action requested: Feel free to provide feedback on how we can make our community more inclusive and diverse.  This episode premiers live on our YouTube at 12pm PST on Thursday 1st June 2023.  Video series available at Power Platform Community YouTube channel.    Upcoming events:  European Power Platform conference – Jun. 20-22nd - Dublin Microsoft Power Platform Conference – Oct. 3-5th - Las Vegas  Join our Communities:  Power Apps Community Power Automate Community Power Virtual Agents Community Power Pages Community  If you’d like to hear from a specific community member in an upcoming recording and/or have specific questions for the Power Platform Connections team, please let us know. We will do our best to address all your requests or questions.  Action requested: Feel free to provide feedback on how we can make our community more inclusive and diverse.  This episode premiers live on our YouTube at 12pm PST on Thursday 1st June 2023.  Video series available at Power Platform Community YouTube channel.    Upcoming events:  European Power Platform conference – Jun. 20-22nd - Dublin Microsoft Power Platform Conference – Oct. 3-5th - Las Vegas  Join our Communities:  Power Apps Community Power Automate Community Power Virtual Agents Community Power Pages Community  If you’d like to hear from a specific community member in an upcoming recording and/or have specific questions for the Power Platform Connections team, please let us know. We will do our best to address all your requests or questions. 

May 2023 Community Newsletter and Upcoming Events

Welcome to our May 2023 Community Newsletter, where we'll be highlighting the latest news, releases, upcoming events, and the great work of our members inside the Biz Apps communities. If you're new to this LinkedIn group, be sure to subscribe here in the News & Announcements to stay up to date with the latest news from our ever-growing membership network who "changed the way they thought about code".         LATEST NEWS "Mondays at Microsoft" LIVE on LinkedIn - 8am PST - Monday 15th May  - Grab your Monday morning coffee and come join Principal Program Managers Heather Cook and Karuana Gatimu for the premiere episode of "Mondays at Microsoft"! This show will kick off the launch of the new Microsoft Community LinkedIn channel and cover a whole host of hot topics from across the #PowerPlatform, #ModernWork, #Dynamics365, #AI, and everything in-between. Just click the image below to register and come join the team LIVE on Monday 15th May 2023 at 8am PST. Hope to see you there!     Executive Keynote | Microsoft Customer Success Day CVP for Business Applications & Platform, Charles Lamanna, shares the latest #BusinessApplications product enhancements and updates to help customers achieve their business outcomes.         S01E13 Power Platform Connections - 12pm PST - Thursday 11th May Episode Thirteen of Power Platform Connections sees Hugo Bernier take a deep dive into the mind of co-host David Warner II, alongside the reviewing the great work of Dennis Goedegebuure, Keith Atherton, Michael Megel, Cat Schneider, and more. Click below to subscribe and get notified, with David and Hugo LIVE in the YouTube chat from 12pm PST. And use the hashtag #PowerPlatformConnects on social media for a chance to have your work featured on the show.         UPCOMING EVENTS   European Power Platform Conference - early bird ticket sale ends! The European Power Platform Conference early bird ticket sale ends on Friday 12th May 2023! #EPPC23 brings together the Microsoft Power Platform Communities for three days of unrivaled days in-person learning, connections and inspiration, featuring three inspirational keynotes, six expert full-day tutorials, and over eighty-five specialist sessions, with guest speakers including April Dunnam, Dona Sarkar, Ilya Fainberg, Janet Robb, Daniel Laskewitz, Rui Santos, Jens Christian Schrøder, Marco Rocca, and many more. Deep dive into the latest product advancements as you hear from some of the brightest minds in the #PowerApps space. Click here to book your ticket today and save!      DynamicMinds Conference - Slovenia - 22-24th May 2023 It's not long now until the DynamicsMinds Conference, which takes place in Slovenia on 22nd - 24th May, 2023 - where brilliant minds meet, mingle & share! This great Power Platform and Dynamics 365 Conference features a whole host of amazing speakers, including the likes of Georg Glantschnig, Dona Sarkar, Tommy Skaue, Monique Hayward, Aleksandar Totovic, Rachel Profitt, Aurélien CLERE, Ana Inés Urrutia de Souza, Luca Pellegrini, Bostjan Golob, Shannon Mullins, Elena Baeva, Ivan Ficko, Guro Faller, Vivian Voss, Andrew Bibby, Tricia Sinclair, Roger Gilchrist, Sara Lagerquist, Steve Mordue, and many more. Click here: DynamicsMinds Conference for more info on what is sure an amazing community conference covering all aspects of Power Platform and beyond.    Days of Knowledge Conference in Denmark - 1-2nd June 2023 Check out 'Days of Knowledge', a Directions 4 Partners conference on 1st-2nd June in Odense, Denmark, which focuses on educating employees, sharing knowledge and upgrading Business Central professionals. This fantastic two-day conference offers a combination of training sessions and workshops - all with Business Central and related products as the main topic. There's a great list of industry experts sharing their knowledge, including Iona V., Bert Verbeek, Liza Juhlin, Douglas Romão, Carolina Edvinsson, Kim Dalsgaard Christensen, Inga Sartauskaite, Peik Bech-Andersen, Shannon Mullins, James Crowter, Mona Borksted Nielsen, Renato Fajdiga, Vivian Voss, Sven Noomen, Paulien Buskens, Andri Már Helgason, Kayleen Hannigan, Freddy Kristiansen, Signe Agerbo, Luc van Vugt, and many more. If you want to meet industry experts, gain an advantage in the SMB-market, and acquire new knowledge about Microsoft Dynamics Business Central, click here Days of Knowledge Conference in Denmark to buy your ticket today!   COMMUNITY HIGHLIGHTS Check out our top Super and Community Users reaching new levels! These hardworking members are posting, answering questions, kudos, and providing top solutions in their communities.   Power Apps:  Super Users: @WarrenBelz, @LaurensM  @BCBuizer  Community Users:  @Amik@ @mmollet, @Cr1t    Power Automate:  Super Users: @Expiscornovus , @grantjenkins, @abm  Community Users: @Nived_Nambiar, @ManishSolanki    Power Virtual Agents:  Super Users: @Pstork1, @Expiscornovus  Community Users: @JoseA, @fernandosilva, @angerfire1213    Power Pages: Super Users: @ragavanrajan  Community Users: @Fubar, @Madhankumar_L,@gospa  LATEST COMMUNITY BLOG ARTICLES  Power Apps Community Blog  Power Automate Community Blog  Power Virtual Agents Community Blog  Power Pages Community Blog  Check out 'Using the Community' for more helpful tips and information:  Power Apps , Power Automate, Power Virtual Agents, Power Pages 

Announcing | Super Users - 2023 Season 1

Super Users – 2023 Season 1    We are excited to kick off the Power Users Super User Program for 2023 - Season 1.  The Power Platform Super Users have done an amazing job in keeping the Power Platform communities helpful, accurate and responsive. We would like to send these amazing folks a big THANK YOU for their efforts.      Super User Season 1 | Contributions July 1, 2022 – December 31, 2022  Super User Season 2 | Contributions January 1, 2023 – June 30, 2023    Curious what a Super User is? Super Users are especially active community members who are eager to help others with their community questions. There are 2 Super User seasons in a year, and we monitor the community for new potential Super Users at the end of each season. Super Users are recognized in the community with both a rank name and icon next to their username, and a seasonal badge on their profile.  Power Apps  Power Automate  Power Virtual Agents  Power Pages  Pstork1*  Pstork1*  Pstork1*  OliverRodrigues  BCBuizer  Expiscornovus*  Expiscornovus*  ragavanrajan  AhmedSalih  grantjenkins  renatoromao    Mira_Ghaly*  Mira_Ghaly*      Sundeep_Malik*  Sundeep_Malik*      SudeepGhatakNZ*  SudeepGhatakNZ*      StretchFredrik*  StretchFredrik*      365-Assist*  365-Assist*      cha_cha  ekarim2020      timl  Hardesh15      iAm_ManCat  annajhaveri      SebS  Rhiassuring      LaurensM  abm      TheRobRush  Ankesh_49      WiZey  lbendlin      Nogueira1306  Kaif_Siddique      victorcp  RobElliott      dpoggemann  srduval      SBax  CFernandes      Roverandom  schwibach      Akser  CraigStewart      PowerRanger  MichaelAnnis      subsguts  David_MA      EricRegnier  edgonzales      zmansuri  GeorgiosG      ChrisPiasecki  ryule      AmDev  fchopo      phipps0218  tom_riha      theapurva  takolota     Akash17  momlo     BCLS776  Shuvam-rpa     rampprakash  ScottShearer     Rusk  ChristianAbata     cchannon  Koen5     a33ik  Heartholme     AaronKnox  okeks      Matren  David_MA     Alex_10        Jeff_Thorpe        poweractivate        Ramole        DianaBirkelbach        DavidZoon        AJ_Z        PriyankaGeethik        BrianS        StalinPonnusamy        HamidBee        CNT        Anonymous_Hippo        Anchov        KeithAtherton        alaabitar        Tolu_Victor        KRider        sperry1625        IPC_ahaas      zuurg    rubin_boer   cwebb365   Dorrinda   G1124   Gabibalaban   Manan-Malhotra   jcfDaniel   WarrenBelz   Waegemma   drrickryp   GuidoPreite   metsshan    If an * is at the end of a user's name this means they are a Multi Super User, in more than one community. Please note this is not the final list, as we are pending a few acceptances.  Once they are received the list will be updated. 

Check out the new Power Platform Communities Front Door Experience!

We are excited to share the ‘Power Platform Communities Front Door’ experience with you!   Front Door brings together content from all the Power Platform communities into a single place for our community members, customers and low-code, no-code enthusiasts to learn, share and engage with peers, advocates, community program managers and our product team members. There are a host of features and new capabilities now available on Power Platform Communities Front Door to make content more discoverable for all power product community users which includes ForumsUser GroupsEventsCommunity highlightsCommunity by numbersLinks to all communities Users can see top discussions from across all the Power Platform communities and easily navigate to the latest or trending posts for further interaction. Additionally, they can filter to individual products as well.   Users can filter and browse the user group events from all power platform products with feature parity to existing community user group experience and added filtering capabilities.     Users can now explore user groups on the Power Platform Front Door landing page with capability to view all products in Power Platform.      Explore Power Platform Communities Front Door today. Visit Power Platform Community Front door to easily navigate to the different product communities, view a roll up of user groups, events and forums.

Microsoft Power Platform Conference | Registration Open | Oct. 3-5 2023

We are so excited to see you for the Microsoft Power Platform Conference in Las Vegas October 3-5 2023! But first, let's take a look back at some fun moments and the best community in tech from MPPC 2022 in Orlando, Florida.   Featuring guest speakers such as Charles Lamanna, Heather Cook, Julie Strauss, Nirav Shah, Ryan Cunningham, Sangya Singh, Stephen Siciliano, Hugo Bernier and many more.   Register today: https://www.powerplatformconf.com/   

Users online (4,020)