"Wait node" when sharepoint folder is created or modified

Hi All,
I’m trying to implement ‘wait node’ in my workflow that is connected to a Sharepoint folder. While i noticed that wait node does not have ‘file system connection port’ which prevents the execution to push thru. My question is do we have any alternative or other approach that i can use to automatically execute the workflow when a file is created/modified in a SharePoint folder?

Hi @Ccas,
Yeah, the wait node only works with local files because the operating system provides mechanisms for being notified of such events. This does not work over the network. Instead, you could do a polling approach. In a loop, you can list files in your Sharepoint folder and check with the Files/Folders Meta Info node if anything has been updated or inserted. You will need to keep the previous state somewhere to compare against so you can detect changes. E.g. first make an initial table with file names and last modified timestamp, then loop and create the table again. If anything differs from the original table Table Difference Finder, you stop the loop and so something with the changed files.
Kind regards,
Alexander

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.