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 07-03-2011, 04:21 PM
Herschel Herschel is offline
Junior Member
 
Join Date: Jul 2011
Posts: 2
Default Issues with MySQL database - query and looping

I have a simple task:
1. Connect to MySQL DB and issue a select
select req_id from email_process where action = "Open" and processed =0;
2. Open Notepad.exe
3. Start Loop Each row in SQL Query dataset
4. Keystroke Req:$Dataset Column(1)$[ENTER]
5. End Loop

There are three rows in the result set (when running SQL directly). However it looks like an issue in Automation Anywhere where there are extra empty rows as I get the following in notepad (and I eventually ESC to get out of the loop):
Req:261349
Req:261247
Req:258628
Req:
Req:
Req:
Req:
Req:
Req:
Req:
Req:
Req:

As mentioned in the below thread there is a known bug/issue when using AA with MySQL database:
MySQL & Loop Requires Maximum Number of Records

At least for the version I'm using which is 5.0.2 Premier. I've used the workaround discovered by the other gentlemen and set max fetch rows = 1,000. Before doing this I would never enter the loop (but I could access the $Dataset Column(1)$ value directly before the loop).

Are there any thoughts or other workarounds in use to get Automation Anywhere to work with MySQL? I'm using the latest MySQL ODBC client.

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-07-2011, 09:04 AM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello Herschel,

We will be able to guide you with proper solutions only after taking a look at the task on your end.
If you can share your contact details with us on support@automationanywhere.com we can give you a call and we can schedule an online meeting which will be helpful for us in suggesting you with solutions.

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:16 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