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


beechc
2015-02-17T12:48:47Z
Good morning

Installed 7.6.0 on my test server, and have found that jobs which use a file trigger fail to populate the trigger variables. One such job returns the following error when run in 7.6.0 yet worked file in 7.5.1 (see below). When reviewing the variables in the variable panel for the active job after it has run/failed, the value preview reports that "no Trigger specified (perhaps Job is not created yet?)".

I went ahead and created a new file trigger in a new job and it exhibits the same issue.

Exception in Task: System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption, Boolean checkHost)
at System.IO.Directory.InternalGetFiles(String path, String searchPattern, SearchOption searchOption)
at VisualCronService.SearchAPI.GBOJMALLCMLMLNHFKFPIIPCCIDNIICBOHHBM(FileFilterClass , VariableReplacerClass ) in C:\sourcefiles\code\VisualCronService\Jobs\FileFilter\SearchAPI.vb:line 211
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.DKAFLEHHMFAPJOFJIFLJPAIDDJIEENMANICP.POMGLMOALKCPPIBJEOFCDCDGENCDADIHOMKJ(TaskCopyFileItemClass ) in C:\sourcefiles\code\VisualCronService\Jobs\TaskProcesses\File\clsProcessTaskCopyFiles.vb:line 106

Regards,
Chris
Sponsor
Forum information
Support
2015-02-17T13:01:21Z
1. which Variables do you use exactly?
2. when you write the Variables to file using File write Task - what values do you have there?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
beechc
2015-02-17T13:26:44Z
These are the ones that I generally use with the Direct ID.
{TRIGGER(8f676dce-f63d-4814-a44a-d77eef5bf04a|LastTrigger|File.Folder)}
{TRIGGER(8f676dce-f63d-4814-a44a-d77eef5bf04a|LastTrigger|File.FileMask)}
{TRIGGER(8f676dce-f63d-4814-a44a-d77eef5bf04a|LastTrigger|File.Result.TriggerFolder)}
{TRIGGER(8f676dce-f63d-4814-a44a-d77eef5bf04a|LastTrigger|File.Result.Name)}

{TRIGGER(Active|LastTrigger|File.Result.Name)}


The result of writing the variables of the above to file is:
No Trigger specified (perhaps Job is not created yet?)
No Trigger specified (perhaps Job is not created yet?)
No Trigger specified (perhaps Job is not created yet?)
No Trigger specified (perhaps Job is not created yet?)

105576-sdf_r4_ps_6x9.pdf

The 'Active' is functioning... The 'Direct ID' is not.

Support
2015-02-17T16:07:38Z
When did you download 7.6.0? Because we refreshed it on Monday with a fix.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
beechc
2015-02-17T16:18:44Z
Friday when it was released.
I will download the newest from the site, and try it.
beechc
2015-02-17T16:40:04Z
The latest build has the variables working correctly.
Chris
Support
2015-02-17T17:14:19Z
Thanks for the feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top