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 05-19-2010, 12:58 PM
cufis cufis is offline
Junior Member
 
Join Date: Jan 2010
Posts: 8
Default Read data from XML File, then push data to MSSQL

I have a task that is monitoring a folder. When a new file is sent there, it launches to check if the file is XML or not and goes through some steps if it is not. I want to create a subtask that will recieve the XML file path as a variable passed from the parent task, read the data, and insert the data into the corresponding tables in my MSSQL DB. Header Elements will be inserted into the "Ored" Table, and "Message" Elements will be inserted into the "OrderItems" Table. Once the sub task is complete, my main task will continue on with its routine.

I have uploaded a sample XML file that is formatted exactly as it will be sent to me.

I'm using v.5.5.2 - Premiere
Attached Files
File Type: zip PunchOutOrderMessage.zip (902 Bytes, 2 views)

Last edited by cufis; 05-19-2010 at 04:12 PM.
Reply With Quote
  #2 (permalink)  
Old 05-21-2010, 12:10 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Automation Anywhere 6.0 version provides XML command using which you can capture data having XML formatting and save to the desired location to be viewed through the required application.

You can download free trial version of Automation Anywhere 6.0 from our website:
Automation Anywhere - The Automation Software. Automate & Schedule IT & Business processes easily.

We have created a sample task for your reference that extracts desired data from XML file you uploaded and stores the extracted data into MSAccess database.

To run this sample,

.Please copy .atmn file under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
.Copy .xml and .mdb file under D:\.
Attached Files
File Type: zip SampleForCufis.zip (14.2 KB, 6 views)
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 07:20 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