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


anthony.ennen
2011-08-10T11:41:37Z
Hello,

I created one job with one trigger and two tasks:
  • The trigger is just File event with the watch type "Created" and "FileName" as Notify Filter.

  • The first task is a "Copy files" type which is using the current file name of the trigger "{TRIGGER(Active,LastTrigger,File.Result.Name)}"

  • The second trigger is a webservice/WCF execute which calls a web method and uses as input parameter the file name still "{TRIGGER(Active,LastTrigger,File.Result.Name)}"


The trigger is correclty executed and the first task moves the correcte file. My problem is that whatever the file that is used, the web service call is always done with the same name:
  • If I drop a file named "aaa.xml", the file is correctly copied with the first task and the web service is called with the file name "aaa.xml". So it's correct

  • But if I then drop a file named "bbb.xml", the file is correctly copied with the first task but the web service is called with the file name "aaa.xml" which is the old file name.... this is my issue.


Do you have any idea to solve this issue?

Thank you in advance.

Kind Regards.
Sponsor
Forum information
Support
2011-08-10T11:50:46Z
Are you having problem when dropping many files at a time or do you have problems when dropping one file at a time as well?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
anthony.ennen
2011-08-10T11:52:30Z
I have this problem when dropping one file at a time.
Support
2011-08-10T11:59:30Z
Ok, I see the problem now. The problem is that we currently do not resolve Variables at runtime in the web service Task.

We will fix that for next release.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2011-08-10T12:40:27Z
We did actually resolve the Variable but we resolved it "for good". We have implemented a fix for this now for next release. Maybe we can release a beta for the weekend.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
anthony.ennen
2011-08-10T12:55:54Z
Ok, thank you for the information.

I know we didn't bought the maintenance kit but we bought the license and this functionality is the one we are using the most. So, it could definitively be good and useful for us if this fix is released this weekend.
May I ask you to let me know when it is done?

Many thanks in advance.

Regards,
Scroll to Top