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 09-08-2011, 11:15 AM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default sub string default lenght

? when did the optional length on SUB STRING change to be ZERO?

I have code that used to run.

It would do a SUB STRING with
a START FROM set to 2
and a blank in the LENGTH (optional) field.

Now,
that lenght is set by default to ZERO.

Of course the code stops working.

when?

Why?

this is V6.1 -
Reply With Quote
  #2 (permalink)  
Old 09-08-2011, 04:40 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Philkryder,

we have attached a sample task with this post as per your description and we were not able to reproduce any error.
If you can send us your task file along with the screenshots, we will be able to guide you in a better way.

Thanks & Regards
Reply With Quote
  #3 (permalink)  
Old 09-08-2011, 09:29 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

I don't see the task
Reply With Quote
  #4 (permalink)  
Old 09-09-2011, 12:08 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Here is what the text of MY brand new,
starting from scratch ATMN looks like.

The first MESSAGE BOX displays
123456789
The second message box SHOULD display
23456789
but, instead we just see blank.

When I re-edit the SUBSTRING
the default lenght
has changed from
BLANK
to
ZERO



1 Comment: Substring default length
2 Variable Operation : 123456789 To $Clipboard$
3 Message Box: "$Clipboard$"
4 String Operation: Extract substring from "$Clipboard$" and assign output to $Clipboard$
5 Message Box: "$Clipboard$"
Attached Files
File Type: zip SubStringChangesDefaultLengthToZERO.zip (32.9 KB, 0 views)
File Type: atmn AAsubStringDefaultLength.atmn (605 Bytes, 1 views)
Reply With Quote
  #5 (permalink)  
Old 09-09-2011, 02:19 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Phil,

If the length is kept blank in the string operation command, it takes the default length as 0. You will have to type in the length there.

In your example, we need to type the length as 8 and it gives the result. The "optional" tag over there, below the length field in string operation command is confusing and we have forwarded this to our engineers. It will be fixed in our next release.

Thanks & Regards
Reply With Quote
  #6 (permalink)  
Old 09-10-2011, 11:06 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Please review this again.

First off - an optional length is a normal language feature and is frequently used to select the remainder of the string following the starting location.

By leaving the default blank, you don't need to know the length of the string - any remainder after the start location is selected.


Moreover,
that is the way it USED TO WORK.

As I said,
I had code that ran an worked correctly when leaving the OPTIONAL length blank.

Please fix it so that the length is once again truly optional.
Reply With Quote
  #7 (permalink)  
Old 09-10-2011, 11:11 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Quote:
Originally Posted by forumstaff View Post
Hello Philkryder,

we have attached a sample task with this post as per your description and we were not able to reproduce any error.
If you can send us your task file along with the screenshots, we will be able to guide you in a better way.

Thanks & Regards
????????????????
by the way - here in the post I quote, you claim couldn't reproduce the problem, later you assert its working the way it should and the DOCUMENTATION is wrong??????????

Please review this again.
thanks
Phil

Last edited by philkryder; 09-11-2011 at 01:10 PM.
Reply With Quote
  #8 (permalink)  
Old 09-12-2011, 07:55 AM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Phil,

We created the task with the length as 8 and so it was not giving us any error but then we kept it blank and it was taking the default length as 0.
We have forwarded this issue to our engineers and it will be resolved soon.

We apologize for the inconvenience you faced.

Thanks & Regards.
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 03:53 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