Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Black4cimt
2008-10-08T22:49:15Z
I recently upgraded from 4.8.8 to 4.9.26 (which fixed the errors I was having btw) but have encountered a unique issue. My conditions do not seem to operate. They are task conditions that monitor a network folder for a file with wild cards, example:

\\servername.domain.forest.site.com\sharename$\abc*.*

This worked in 4.8.8, but in 4.9.26 the conditions always return a negative condition (file is not present). I've verified permissions to the share and files, as well as background/foreground operation of the task. If the condition is removed from the task, it operates without issue. Any suggestions?
Sponsor
Forum information
Support
2008-10-08T22:55:55Z
Conditions have not support for wild cards. Is the path really a path that you use in File Condition or File Trigger?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2008-10-08T22:57:28Z
Sorry, they do, but if you get that kind of error the Credential is probably missing or wrong (as it is a network drive).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Black4cimt
2008-10-09T20:23:35Z
That path is using generic placeholders. There are actually a couple of different paths I am using in the conditions. That was just ot show you my format in the file condition.

The condition never returns any errors, it just always evaluates as false regardless of wether the condition is met or not. It started doing this after I upgraded from 4.8.8
Support
2008-10-09T20:59:38Z
But are you using Credentials where required?

Also, one change with the new VisualCron is the OnError tab. That it exits if an error occurs. Previously it continued.

Have you added debugging on the Conditions?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Black4cimt
2008-10-09T23:12:21Z
These are the log entries I get when I try to run the task that is using the condition:

Running Condition Set: 'Check for files to import - CMM OP10' for task: CMM OP10
Impersonation Failed in CheckFileCondition
Condition Set (Task) returned: MatchError-> ActionNext

and then it goes on to the next task. I did notice the changes in the OnError section, and have set it to not run the task if the file is not present, but to skip ahead to the next task in the job. The thing is that the share path and file are the same as they were before, and the credentials are also the same. Why would it not work now, when it did before?
Support
2008-10-10T09:15:18Z
Impersonation Failed in CheckFileCondition

This text means that the login failed to access the remote drive. Most probable reasons:

* Credential has been changed
* Permissions on the user has been changed (no longer access to drive)
* You are not using any Credentials
* You are using the wrong Credential
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Black4cimt
2008-10-10T15:18:06Z
I have solved the problem, and it was credential related, but not in the manner you suggested. I actually had to remove the credentials to get it to work. The tasks they are linked to are foreground tasks, not background and therefore have no credentials linked to them. In 4.8.8 you still had to put credentials in the conditions linked to a foreground task, but in the new version the condition apparantly runs in the forground with the task it is evaluating for. After removing all credentials from the conditions, it runs like it should. Thought I'd let you know the solution.
Users browsing this topic
Scroll to Top