Community forum

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


Susheel
2010-12-10T05:37:46Z
Hello Henrik. Please help me in this last step of setup that I am doing for VC.

1. I generate resultant files in a folder A.
2. Next task checks this folder for specific files. If they exists it will copy them to another folder B. Else will send a mail notification to the operator.

To be more specific to the previous question, the task will check if the files with .RAW extension are present. If yes then it will copy them to another folder, if NO then it should send a mail.
Please help me fix this last step of the automatic processing.

Thanks a lot in advance,
Susheel
Sponsor
Forum information
Support
2010-12-10T15:05:27Z
You should use a trigger for *.RAW files instead of a Task that check for specific files. Then use the Trigger result values in Copy Files Task:

Folder: {TRIGGER(Active,LastTrigger,File.Result.Folder)}
Filemask/filename: {TRIGGER(Active,LastTrigger,File.Result.Name)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Susheel
2010-12-10T15:37:26Z
Hi Henrik,
This time i am finding difficulty in understanding. Please can you tel me in points rather than direct values that you had explained. I apologise for my lack of understanding.

Hope to get better understanding.

Thanks and regards,
Susheel
Support
2010-12-10T15:59:35Z
1. add a Job
2. create a trigger on folder A
3. create a copy file task and use these values in the file filter:

Folder: {TRIGGER(Active,LastTrigger,File.Result.Folder)}
Filemask/filename: {TRIGGER(Active,LastTrigger,File.Result.Name)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Susheel
2010-12-11T04:36:46Z
Hello Henrik,
This is not just a single job that I need to set up. Following are the steps that I follow for the complete automation for one single retailer. In this way I have to add jobs for nearly 100 retailers.

1. Get the file from FTP.
2. Unzip the file.
3. Run the application that processes the files.
4. After processing the files the application will create resultant .RAW files in folder
A.
5. Now I have to check if the files are created.
a. If they are created then these files are moved to folder B.
b. If they are not created then a mail will be sent to operator informing
the failure of resultant file creation.

So I need your guidance to set up this 5th step.
Your suggestion is very important as I am blocked here very badly.

Thanks and regards,
Susheel
Support
2010-12-11T11:41:01Z
You should divide it into two Jobs where the second Job uses the File Trigger on folder A following the other steps I described.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Susheel
2010-12-11T12:06:55Z
Hello Henrik,
I accept that I must use 2 jobs. Fine. I will can do that. In the second job I can create a trigger for checking the creation of the .RAW files and then copy it. However if the files are not created then I need to send a mail. How can i do it in the second job. Please guide me for this last step. I am online hence I can even confirm if I am able to do it. So please reply me as soon as possible. Sorry for the trouble.

Thanks and regards,
Susheel
Susheel
2010-12-11T14:29:12Z
Hello,
Can I get a quick reply please on my concern. Today is saturday and everyone is OFF here. But I am still working and waiting to get this issue with VC resolved.

Susheel
2010-12-11T17:14:13Z
Hi,
Any solution to my concern that I have raised in my previous post???

Thanks and regards,
Susheel
Support
2010-12-13T10:11:24Z
What do you mean the files are not created? How is that technically detected?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top