I am very new to the Aras PLM and want to write a listener / scheduler to load word documents and create "Documents" item type at a time interval of 10 minutes. There is a file pooling in a physical folder "C:\files" and would like to get those documents uploaded or updated with the latest word documents. How to write a scheduler in Aras? Any insights would be appreciated.
i have a folder in c drive which has some documents [ word files] and a legacy system which will send me some files to this folder at every hour.
i want to have a scheduler in Aras which will check every 10 minutes to pick up those word documents and create a ''documents'' item type and attach this file to the files and save in Aras.
the folder is one the Aras server only...not on the client machine. is that possible to create a queue or listener or scheduler , as I am new, I dont know the term you guys use here.
There are several ways how you can achieve this.
There is an Aras Scheduler Service that comes with Aras installation CD (requires subscription I believe - maybe someone from Aras Corp can answer that one). It is a handy tool and pretty self-explanatory. It executes an Aras Method in defined time interval, e.g. every 10 minutes. You could write an Aras method that reads your directory with files in it and creates Document Items with files attached.
Another way would be to use Windows Scheduler service and create an own program that embeds IOM.dll API to create Document Items in Aras.
Hi selvlennox,
Alderaan is correct. The Aras Scheduler Service is only available to Aras subscribers. If you're an Aras subscriber, Aras Support ([email protected]) can help you set it up. Otherwise, the Windows Scheduler Service would work if you create a custom application.
Eli
Eli Donahue
Aras Labs Software Engineer
Thank you guys for the answer, we are evaluating the software so we have no subscription now. We would try windows scheduler and would be great if someone share a sample dll to write a windows scheduler.