I am trying to create a (2013) workflow in Sharepoint Designer that will set a field (sharepoint column) to the value: 1.
I am trying to have it run only when a new item is created in the root folder. So when a new folder is created at the top level of the document library. And specifically a folder.
I found that folders in Sharepoint don't have a content type - so I added the following If statement to the workflow to deal with that: If current item content type is empty... But now I would like to add a condition that says something like If the current item is created in the top level or root folder or...whatever
I see one of the fields you can select is: "level" - (see attached image). Is that maybe what I'm looking for? Does anyone else know a better solution?
Thanks a lot Sylvie