Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Subfolders trigger issue
Topic Summary:
Created On: 08/17/2017 10:56 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 08/17/2017 10:56 AM
User is offline View Users Profile Print this message

Author Icon
ZmejSerow
Student (5-19 posts)

Posts: 8
Joined: 07/27/2017

Hi!

How deep does the AutoMate watch the folder structure when "Include subfolders" check is turned on? It seems that it's only one level deep...

I have to watch for creation of files "*_rep.pdf" in the following folders:

\\server\orders\17-*\preflight\

Notice the mask after "17-". There is hundreds of folders I have to watch. E.g., "\\server\orders\17-2823\preflight\17-2823_rep.pdf" or "\\server\orders\17-2827\preflight\17-2827_rep.pdf".

I've tried several variants to tell the AutoMate to do this.

First, this way: http://prntscr.com/g9qa48: it doesn't trigger at all.

Second, this way: http://prntscr.com/g9qayr: it doesn't trigger either.

Third: http://prntscr.com/g9qb9j: it does trigger ONLY if the file is exactly in folder "d:\tmp". If a file is modified in folder "d:\tmp\222", for example, it doesn't care at all.

Fourth: http://prntscr.com/g9qd6t: no way

Fifth: http://prntscr.com/g9qdjz: no way...

Please help, thanks!



 Category Survey
AutoMate 10 version: 10.4.2
Windows version: Windows 10
 08/18/2017 01:04 PM
User is offline View Users Profile Print this message

Author Icon
Justin Aucoin
HelpSystems

Posts: 360
Joined: 02/15/2016

Hi ZmejSerow,

The folder monitoring will go down multiple subfolder levels. Based on the examples you cited in your post, if you were trying to create a file condition to find the two files below only in the preflight folders you would set your File System trigger as follows.
\\server\orders\17-2823\preflight\17-2823_rep.pdf
\\server\orders\17-2827\preflight\17-2827_rep.pdf


The folder to monitor would be \\server\orders\, with subfolders included.
Next you would set the Include Mask, found under Filters to the following.
\\server\orders\17-*\preflight\*
This setting will allow you to use a wildcard for the various folders starting with 17- and that contain a preflight folder.

 Category Survey
AutoMate 10 version:
Windows version:


-------------------------

Justin Aucoin | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
 09/22/2017 04:36 AM
User is offline View Users Profile Print this message

Author Icon
ZmejSerow
Student (5-19 posts)

Posts: 8
Joined: 07/27/2017

http://prntscr.com/goawaj

Please can you check the settings on the screenshot I've provided above? It doesn't work, unfortunately :-\



 Category Survey
AutoMate 10 version: 10.4.2
Windows version: Windows 10
 09/22/2017 05:45 AM
User is offline View Users Profile Print this message

Author Icon
Nikki Evans
HelpSystems

Posts: 12
Joined: 06/26/2015

Hello,

For security purposes we wouldn't be able to select the URL you have provided. May I ask for you to attach the screenshot to an email and send to support.automate@helpsystems.com.

Many thanks,
Nikki

 Category Survey


-------------------------

Nikki Evans | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.800.328.1000
 09/22/2017 05:55 AM
User is offline View Users Profile Print this message

Author Icon
ZmejSerow
Student (5-19 posts)

Posts: 8
Joined: 07/27/2017

Here it is, attached to the message.



 Category Survey
AutoMate 10 version: 10.4.2
Windows version: Windows 10


Click for full image
Click for larger image

 09/25/2017 01:18 AM
User is offline View Users Profile Print this message

Author Icon
ZmejSerow
Student (5-19 posts)

Posts: 8
Joined: 07/27/2017

Also sent to support.automate@helpsystems.com



 Category Survey
AutoMate 10 version: 10.4.2
Windows version: Windows 10
 09/26/2017 01:13 AM
User is offline View Users Profile Print this message

Author Icon
Nikki Evans
HelpSystems

Posts: 12
Joined: 06/26/2015

Thank you for the image, I'll test at your installed version and get back to you as soon as possible.

 Category Survey


-------------------------

Nikki Evans | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.800.328.1000
 09/26/2017 02:28 AM
User is offline View Users Profile Print this message

Author Icon
Nikki Evans
HelpSystems

Posts: 12
Joined: 06/26/2015

Hi Zmej,

I tested my colleagues instructions on your version and verified the trigger works as expected. I've emailed you a screenshot of the tested configuration for your review.

Thanks,
Nikki

 Category Survey


-------------------------

Nikki Evans | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.800.328.1000
 09/26/2017 06:21 AM
User is offline View Users Profile Print this message

Author Icon
ZmejSerow
Student (5-19 posts)

Posts: 8
Joined: 07/27/2017

Thanks for support!

Everything works as expected on network share since I've added user credentials in trigger.

But on local folders the problem was in my own inadvertence: I've had a space after asterisk in filter section. "C:\Users\zmej\Desktop\tmp\orders\17-*\preflight\* " instead of "C:\Users\zmej\Desktop\tmp\orders\17-*\preflight\*".

Hope this topic will help others



 Category Survey
AutoMate 10 version: 10.4.2
Windows version: Windows 10
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1847 guests browsing this forum, which makes a total of 1847 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog