Hi all,
I'm new to power automate - spent the last 10 years being a total Linux fanboy so use terminal and scripts for a lot of jobs on my own PCs - but now thanks to a new job I've been forced to relearn / learn all the Microsoft systems again.
We use Office 365 a lot and have power automate as part of our licenses so therefore have decided to attempt to utilise it since it's already there for us to use.
Our school has an insane amount of policies and we are currently attempting to get all of them updated and up to scratch following a change of senior management.
The idea is that we have two SharePoint teams/libraries for administration files. One that's only accessible to senior management and the admin team. One that all staff can access.
I've successfully managed to create a flow - after spending loads of time trawling this site, thanks guys - that creates, from a word version of the policy in the private team, a pdf copy in the public team when the file is published as a major version.
(The whole point of the PDF version in the public library is to prevent other staff member's from messing up formatting and content, accidentally deleting the files - settings in the public folder are set to prevent anyone from deleting the file - while also getting rid of the labour intensive task of manually converting and replacing the file every time an adjustment is made, simultaneously also putting it in a format ready to be released to the general public - parents/guardians/Ofsted/website/etc)
But I've got really stumped when trying to implement the correct flow to delete the pdf version when the word file is deleted.
I've seen many examples of people syncing two folders to share the same files where the file name and extension both match but can't find an answer to my dilemma.
Does anyone know if this is even possible?