Hello,
I'm building a workflow for my company that consists in notifying my Team when a file is uploaded on our Sharepoint in multiple news sections.
The issue that I'm running in is that the uploaded files (by me or members of my team that have access to the Sharepoint) don't necessarily trigger my workflow, and I'm pretty sure it's relative to the fact that I have un unnamed library. Let me explain :
Here is a screenshot of my company's Sharepoint (sorry for the poorly made anonymization) :
This is the home page, where most of the files are uploaded as news in multiple news sections (4 and 5, and there's more). Coworkers have the choice to either use button 2 (create news that are added automaticaly in the right section thanks to an automation using news's name) or button 3 (add news directly in the right section) to upload their files. There is a list on the left (1) that refers to 5 other pages of the site, where files are uploaded too. However, these other pages got a different URL than the homepage, they are linked like this :
sharepoint.com/sites/'mycompanysite'/Lists/'pagename'
Whereas the home page from my screenshot is linked like this :
sharepoint.com/sites/'mycompanysite'
Another information to know is that we can "fullscreen" the multiple news sections by clicking on "display all" ("Afficher tout" in French, right under 4), and the URL of this display is made like this :
sharepoint.com/sites/'mycompanysite'/_layouts/15/news.aspx?title='newssectionname'
Following several tutorials I found online, I created the following workflow in PA. Sorry, it's in French, but this is the trigger "When a file is created (properties only)".
The tutorials I followed said that in order to detect any file uploaded as news, I have to put "Site Pages" as the library name ("Pages du Site" in French, the English writing not being detected as valid in my French PA), but it does not work everytime. Moreover, I can put the other page's name in here and it is being detected as valid library names. But the home page hasn't got one, as mentionned earlier.
So I tried many different library names, such as "layouts", "newssectionname", "aspx", "mycompanysite" etc, in order to maybe find a hidden library name that could trigger my flow 100% of the time. But I haven't found.
And here is the issue. With this setup, the workflow isn't triggered everytime. Most of the time, it is when I and only I use the 2 button (refering to my screenshot). Unfortunately, I can't gather information about the buttons that my coworkers use because of work from home. Even if I could, this wouldn't be optimal to make them adapt their way of uploading; I'd like my workflow to adapt to their's. For the moment, only my way of uploading triggers the flow, and my coworkers started making jokes about me creating this only to show off my work, I don't want that going on lol
I hope one of you folks have an idea of what's going one !
Thanks in advance,
A desperate joked about Data Analyst