You are viewing limited content. For full access, please sign in.

Question

Question

Can you use WildCards in Starting Rules?

asked on November 6, 2019

I am working on a workflow that will automatically kick off when new files and folders are added to an employee's file in our repository. We are starting from scratch here and some folders will be added that I don't want to kick off the workflow, for instance, the "Record Submission Forms" folder. This will be created within each user's folder when a record is added if it doesn't already exist.

However, I want to workflow to start on everything new under HR\Employee Files and exclude HR\Employee Files\[insert an employee's first and last name]\Record Submission Forms.

Could this be done with wildcards?

My current starting rules are;

Starting Event: Entry Created
Run workflow on the entry that was created

If all of these conditions are true
        Entry : Path starts with \HR\Employee Files\
        Entry : Path does not contain Record Submission Forms
        User equals ADMIN

However, only the employee's named file and the Record Submission Forms folder are being picked up in the workflow and everything else is being left unchanged.

Could a rule of;

        Entry : Path is not HR\Employee Files\WildCard\Record Submission Forms

work?

1 0

Replies

replied on November 6, 2019

Add group: If all these conditions are FALSE

Entry: Path ends with  Record Submission Forms

Now the real question is your design making things difficult for you?  You have the advantage of starting from scratch so changes are easy at this point.

 

1 0
replied on November 6, 2019

That didn't seem to work. So right now as a test I fill out the form and upload a resume it creates the following (if they don't already exist);

1) \HR\Employee Files\Timothy M Holton

2) \HR\Employee Files\Timothy M Holton\Resume

3) \HR\Employee Files\Timothy M Holton\Resume\Timothy M Holton Resume 11/06/2019

4) \HR\Employee Files\Timothy M Holton\Record Submission Forms

5) \HR\Employee Files\Timothy M Holton\Record Submission Forms\Resume 11/06/2019 - Approved by Timothy Holton

The workflow looks at \HR\Employee Files\ for any entry created and apply the HR Security Tag but avoid \Record Submission Forms folder and anything inside.

0 0
replied on November 6, 2019

Alright, I made some changes and added the word Approved to the Record Submission Forms folder name and instead of trying to get it to avoid the path I told it to just avoid entries with the word Approved in them. My issue now is the workflow is still skipping the \HR\Employee Files\Timothy M Holton\Resume folder for some reason.

 

0 0
replied on November 6, 2019

Your rule already does that. Are you sure you don't have other rules being triggered at the same time? You can take a look at the Subscriber Trace to see how each event is evaluated.

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.