Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. 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 01-13-2011, 01:41 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default ?? Hyphen becomes Forward Slash when concatenated with DATE variable ??

please see the code below and attached ATMN called:
HyphenBecomesForwardSlashWith$Date$.atmn

This was broken in V601 and earlier and is still broken in V610 beta.

The concatenation of the
$Date$
in line 9
Causes the hyphen that had been placed in the clipboard to be changed to a forward slash.

I know this can be mitigated with the substring, but that is much less natural than a simple variable assignment.


===================


1 Delay: (200 ms)
2 Comment: ===================
3 Comment: ===================
4 Comment: ===================
5 Variable Operation : 1 To $Clipboard$
6 Variable Operation : -1$Clipboard$ To $Clipboard$
7 Message Box: "$Clipboard$"
8 Comment: ===================
9 Variable Operation : $Date$***$Clipboard$ To $Clipboard$
10 Message Box: "$Clipboard$"
Attached Files
File Type: atmn HyphenBecomesForwardSlashWith$Date$.atmn (713 Bytes, 4 views)
Reply With Quote
  #2 (permalink)  
Old 01-20-2011, 05:24 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Phil,

This behavior of the ”Date” variable is because it will understand the format which is being selected by default from the options available in the System Variables list menu. Please follow below mentioned instructions to get hyphen (-) not converted in slash (/):

1. In “Task Editor” window click on Variable Tab.
2. Click on “Show System Variables”.
3. Select “Date”, moves to the right hand side of the window and click on “…”.
4. This will open “Select Date format” window.
5. Select the option of “yyyy-mm-dd” and click on ok.
6.Run the task.

You will notice that the hyphen is not getting converted to slash.

In case you would not like to carry our changes in the “Date” format and add hyphen to the variable, please assign the value of “Date” variable to any Local Variable of value type. Now you can use this local variable to add Hyphen using Variable Operation command in your task.

We have created a sample task for your ready reference, please save the task at following path My Documents\Automation Anywhere\Automation Anywhere\My Tasks.
Attached Files
File Type: atmn ModifiedHyphenDecomesForwardSlash.atmn (931 Bytes, 1 views)
Reply With Quote
  #3 (permalink)  
Old 01-20-2011, 06:07 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

this is a most discouraging response.

why should I have to go to any special trouble to have a simple concatenation?

the process of concatenating a date field to a variable should not change the content of other parts of the variable.

please escalate.
thanks
Phil
Reply With Quote
  #4 (permalink)  
Old 01-21-2011, 09:42 AM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Phil,

We understand, we have already forwarded your request to fix this issue to our development team to get it resolved in future release of Automation Anywhere.
Reply With Quote
  #5 (permalink)  
Old 01-28-2011, 04:40 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Phil,

We are glad to inform you that we will be getting this issue fixed in the upcoming release of Automation Anywhere 6.1.
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

BB 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 10:06 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved