I have a simple Flow that has been working great.
I have a request to change the flow so an email is only sent when someone outside select domains create or modifiy a file. I imagine the flow would look something like this;
I have no idea how to make this happen. Any suggestions on where to start?
Solved! Go to Solution.
Hi @Anonymous
This is the approach I'd take for what you're trying to accomplish:
last(split(triggerBody()?['Editor']?['Email'],'@'))
I hope this suggestions solve your issue or point you on the right direction.
Regards,
Fausto Capellan, Jr
Hi @Anonymous
Can you please post the screenshots again? They are not being displayed in your original post.
Thank you,
Fausto Capellan, Jr
I think I fixed my original post...
Hi @Anonymous
This is the approach I'd take for what you're trying to accomplish:
last(split(triggerBody()?['Editor']?['Email'],'@'))
I hope this suggestions solve your issue or point you on the right direction.
Regards,
Fausto Capellan, Jr
@faustocapellanj That worked! Thank you!
I was close, but your data operations command was what I was missing.
I marked your solution as the correct one, but I do have a follow up question. I'm going to add it here, please forgive me if I'm breaking protocol.
I have a site that has several subsites underneath it. I have a copy of my initial flow looking over each subsite's document folder. Each subsite is tailored to an external user/customer where they place documents. From my understanding of Flow this was how it needed to be done. To make this change I would need to update enough Flows to where it could be done, but it would be a bit of a pain to do. My sites are growing quickly enough that in a few months it would be almost impossible to manually update all of them for a change like this.
Am I doing this the right way? Can I write one Flow that watches over each of the the subsite's document librarys? Or am I stuck updating each one?
Hi @Anonymous
Glad the solution worked out for you. As for the other Flow and the subsites, what is this Flow doing exactly with the folders? I'm asking so I can have a better understanding and perhaps offer a better solution. Plus if you have screenshots, that would help a lot.
Regards,
Fausto Capellan, Jr
Hopefully this will make it a little easier to understand.
My Flow is set to trigger when a document is either added or changed by anyone not meeting the criteria I set thanks to you. I currently have a Flow monitoring each document library because of the way I know how to do it each document library URL is unique. (I have it crossed out on my example but I hope you get the idea.)
In this example I have 4 uniqe flow's monitoring 4 unique document libraries. With your help I now have to update all 4. (Not a big deal here but in reality I have many more.)
Is there a way to write a Flow to monitor all subsite document libraries? This way when there is a change to the Flow I don't have to edit 60 of them, I can edit just one.
User | Count |
---|---|
101 | |
36 | |
29 | |
24 | |
16 |
User | Count |
---|---|
132 | |
54 | |
53 | |
37 | |
26 |