Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-26-2008, 07:20 AM
Red-Dog Red-Dog is offline
Junior Member
 
Join Date: Aug 2008
Posts: 3
Talking Creating Folders on Map Drives

We created a script to create a new folder on two different mapped drives. Within one of these new folders are 5 new sub-folders. Everything works good except when we run the script and decide to cancel out, it still creates the folders from the previous run. Can someone help?
Attached is the script.

thanks,

Red-Dog
Attached Files
File Type: atmn CreateJobFolders.atmn (800 Bytes, 3 views)
Reply With Quote
  #2 (permalink)  
Old 08-26-2008, 11:27 PM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

While Automation Anywhere is running your task if you wish to abort it i.e. stop running your task, then keep the Escape key pressed for 2-3 seconds and repeat this till you see status window or run time window at the bottom right corner.

Automation Anywhere will take few seconds to finish this task so you can insert 'Prompt for Yes/No' command to get confirmation for folder creation.

For your convenience, we have amended your task. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.

Hope that helps.
Attached Files
File Type: atmn CreateJobFolders.atmn (1.1 KB, 1 views)
Reply With Quote
  #3 (permalink)  
Old 08-27-2008, 10:39 AM
Red-Dog Red-Dog is offline
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default Still have an issue with folder creation

Thanks for the help. I copied the revised file to my work station ... where I initially have the demo version working.
Your suggestions work great no problems but on the workstation that I need to install this on, it does not work properly. The "jobno" variable does not work. It just prints the "jobno" label where it was supposed to pick up other characters. It also does not create a folder to the "S/" drive mapping. It's weird because it works perfectly on my workstation. Do you think this is a security issue?

All I did was copy your version back to the correct directory path of the user. I also copied the same file to my
workstation and it works fine. Any suggestions would be welcomed.

thanks,

Red-Dog
Reply With Quote
  #4 (permalink)  
Old 08-27-2008, 11:24 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

Can you please ensure that variable, $JobNo$ exists on machine where task does not work?
Also, please check the product version. You can get version from Help->About Automation Anywhere.
Reply With Quote
  #5 (permalink)  
Old 08-27-2008, 12:35 PM
Red-Dog Red-Dog is offline
Junior Member
 
Join Date: Aug 2008
Posts: 3
Default success for creating folders

Thanks so much. It wasn't as complex as I thought.
I just added the variable and it works great. We have version 5.0

I'm a new user so ... still learning.

much appreciated!!!!

thanks again.

Red-Dog
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 12:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved