Sep 14 2020 08:13 PM
I have the following flow which gets information for a certain file and requests approval from a set list of approvers as below:
However, I have about 20 different folders where I need to do this from with different approvers required for each folder. For example, users triggering this Flow from FolderA will send an approval to John, while triggering the flow from FolderB will send an approval to Bob.
I think I can achieve this by getting the DisplayName of the folder by using the Get folder metadata step but then I may need to create 20 different Conditions using the DisplayName.
Is there a simpler, more elegant way for me to achieve this without creating 20 Condition controls?
Sep 14 2020 10:31 PM
Sep 14 2020 10:59 PM
@ChrisWebbTech I've tried using Parallel Branch and seems to work but again I'm going to need to create 20 branches.
I've only just started using Flows and am still learning so not sure how to use Switches yet like you've outlined.
Are you saying I can create a List with 2 Column values (Folder Name and Names of Approvers) on my Site and use it as a reference for my Flow?
Sep 14 2020 11:08 PM
Sep 21 2020 10:25 PM
I have resolved this by just creating several Parallel Branches with the 20 conditions.