I have a SharePoint Designer 2013 workflow that needs to be run on create. This workflow calls a Web Service method I have created, that creates a whole folder structure inside the folder that triggered the call. I want the new folders to NOT KICK the workflows on create. I thought running as System Account would do the trick, however the workflows still triggered. What am I doing wrong?
Folder is also an item as per design but with different content type. You cannot avoid triggering of workflow but what you can do is check in your workflow on top if Content Type is folder, exit workflow without doing anything. Or you can create a hidden column, update this column only when item is created from CSOM and check in workflow if this hidden column has value, exit workflow. If not, do the processing.
You could add an condition to check if created by System account and if so then stop WF.