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 06-13-2007, 04:54 PM
BOK SEUNG WAN BOK SEUNG WAN is offline
Junior Member
 
Join Date: May 2007
Posts: 17
Default For Variables

Hello,

1.
I set for one Task as below.
Create Folder "c:\$today$\temp" and Task name sma_create.

And set Variable manager for today as below.
today is variable and Read from file c:\KIPI.txt
And KIPI.txt set as today=20070613

This Task is good working using AA Main screen.
Good working means make directory is as C:\20070613\temp.

But in case of run this Task using scheduling solution as below
"C:\Program Files\Automation Anywhere 3.5\Automation Anywhere.exe
"C:\Program Files\Automation Anywhere 3.5\Automation Anywhere\My Tasks\sma_create.atmn" /u",1
maked directory as C:\$today$\temp.
It look like didn't read from KIPI.txt.
Do you have any idea?

2.
$Year$$Month$$Day$$ means today.
This is format as 2007614. In case Month no return 0.
We want this format type of 20070614.
How can make our format with added "0" to Month?
But we don't want such as type of $Year$0$Month$$Day$$ because this will problem in November and Decamber as 011 and 012.

3.
Is it possible to using below system date?

$Year$$Month$$Day$$ before 1 day
$Year$$Month$$Day$$ before 2 day
~

$Year$$Month$$Day$$ after 1 day
$Year$$Month$$Day$$ after 2 day
~

S.W.Bok
Reply With Quote
  #2 (permalink)  
Old 06-14-2007, 02:57 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 486
Default

Hello,

Are you using some other program to schedule your Automation Anywhere task? The task should run normally even if you use Windows Scheduler. Can you try to schedule the same task in Automation Anywhere and try again? If it still does not work, send me the variable.dat file and your text file you are using to read variable. Please figure out if you have written the variable in correct format in text file as variable = value and your variable is set to read from the correct text file.

You can get format type of 20070614 by using excel. What you can do create a task as follows:
Go to cell A1 in excel file, and write =today() and hit Enter.
In cell A2, copy this function =CONCATENATE((YEAR(A1)),,IF(LEN(MONTH(A1))=1,CONCA TENATE("0",MONTH(A1)),MONTH(A1)),IF(LEN(DAY(A1))=1 ,CONCATENATE("0",DAY(A1)),DAY(A1))) and hit Enter.
Now UP Arrow key and CTRL+C to copy the text.
assign $Clipboard$ value to some variable.

Similarly if you want to get date-1, you can use =today()-1 function in excel, copy using CTRL+c and assign it to some variable nnd use it in your task.
Reply With Quote
  #3 (permalink)  
Old 06-14-2007, 03:55 AM
BOK SEUNG WAN BOK SEUNG WAN is offline
Junior Member
 
Join Date: May 2007
Posts: 17
Default For variable

Hello,

Please see attached file.
We used scheduling solution to run AA.
Our scheduling solution could made directory as $today$.
It seemd to be didn't know Variable.
There is no problem in AA Main screen and AA schedule function
made directory as 20060613.

S.W.Bok
Attached Files
File Type: zip create.zip (609 Bytes, 5 views)
Reply With Quote
  #4 (permalink)  
Old 06-14-2007, 07:13 PM
BOK SEUNG WAN BOK SEUNG WAN is offline
Junior Member
 
Join Date: May 2007
Posts: 17
Default URGENT Issue

Hello,

In case of run AA program by our scheduling solution,
there is no problem using System Variable such as $Year$$Month$$Day$$.
But in case of User Variable from read file, our scheduling soultion not recognize the file and hadn't change from $today$ to 20060613.
And our software change directory from $today$ to $today$ as written.
Could you please send us solution?

I look forward to you fast response.

S.W.Bok
Reply With Quote
  #5 (permalink)  
Old 06-15-2007, 06:03 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 486
Default

Hello,

I saw ur variable.dat file and found u have not created variable that your using. And, so the task is not able to read any value from file. What you can do is go to Tools-> Variable Manager and create a variable of type 'Value' and name it 'today' and set it to read value from your text file(see image in attachment).

Hope that helps.
Attached Files
File Type: zip AA.zip (35.5 KB, 8 views)
Reply With Quote
  #6 (permalink)  
Old 06-15-2007, 09:15 AM
BOK SEUNG WAN BOK SEUNG WAN is offline
Junior Member
 
Join Date: May 2007
Posts: 17
Default No

We already set today.
I couldn't send Variable.dat file becuase bigger than 97 KB.
In this time I found today variable in Variable.net.
How can send the file to you?

S.W.B
Reply With Quote
  #7 (permalink)  
Old 06-15-2007, 12:48 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 486
Default

Hello,

You can email us the file at http://www.tethyssolutions.com/support_form.htm.

Last edited by forumsupport : 10-29-2007 at 03:45 AM.
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 05:10 PM.


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