I have a scenario where I have a workflow that I'm going to need to run when a new folder get's created so that the folder will inherit the template info from the document that created it. So that could be from a 1 document scanned from Quickfields or even more. However, from a efficiency standpoint, I don't want the workflow to run anymore for that folder even though there may be more documents being scanned into it. My starting rule is:
Starting Event: Entry Created
Run workflow on the entry that was created
If all of these conditions are true
Entry : Type equals Document
Entry : Path starts with \Applications In Process
User does not equal workflow
Folder : Document Count is less than or equal to 1
The issue I'm having is that because of the Document Count...if someone were to scan in 2 or more documents right away, then the Workflow won't run. On the other hand...if I take that out, my workflow is going to run constantly everytime a new document is scanned in (which isn't necessary once it's been assigned the template info).
I'm sure it's an easy fix and I'm just missing it, but is there a way to create the starting rule that say "Run IF, but Don't Run IF?