scripting event rules

Posted By ebyland 1/12/2012 3:31:19 AM
Add to Favorites0
Author Message
ebyland
 Posted 1/12/2012 3:31:19 AM
Supreme Being

Supreme Being - (202 reputation)Supreme Being - (202 reputation)Supreme Being - (202 reputation)Supreme Being - (202 reputation)Supreme Being - (202 reputation)Supreme Being - (202 reputation)Supreme Being - (202 reputation)Supreme Being - (202 reputation)Supreme Being - (202 reputation)

Group: Forum Members
Last Active: 1/13/2012 2:39:33 AM
Posts: 45, Visits: 6
202
Does anyone know if there is a way to script the creation of event rules? Our scenario is we have a couple hundred folders that need to be monitored. Once a file is put in once of the folders, EFT will need to sftp it to a customer. Basically the only different between all the rules will be the folder thats being monitored and the sftp credentials.
davidmd
 Posted 1/12/2012 4:29:50 AM
Supreme Being

Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)Supreme Being - (4,933 reputation)

Group: Forum Members
Last Active: 10 hours ago
Posts: 283, Visits: 376
On a high level, the answer is yes. This can be accomplished via the COM API. You will want to read the COM API manual rather carefully. I would suggest testing it out on a small scale first so that you can fine tune the code. COM API manuals can be found here: http://help.globalscape.com/help/guides/index.html (depending on which version of EFT you are running).
cgrego
 Posted 2/2/2012 2:34:42 AM
Supreme Being

Supreme Being - (371 reputation)Supreme Being - (371 reputation)Supreme Being - (371 reputation)Supreme Being - (371 reputation)Supreme Being - (371 reputation)Supreme Being - (371 reputation)Supreme Being - (371 reputation)Supreme Being - (371 reputation)Supreme Being - (371 reputation)

Group: Forum Members
Last Active: 4/30/2013 7:48:03 AM
Posts: 13, Visits: 35
371
Why doesn't GlobalSCAPE simply provide us with a multi-folder event rule? Using a CSV filename lookup approach, we were able to consolidate all of our file upload events/workflows into a single event rule and advanced workflow task. However, this same approach cannot be applied to a folder monitor event because that type of rule requires you to specify the folder name to be monitored and it can only be one per rule.

Also, the event rule management interface in GlobalSCAPE EFT Server Enterprise presently leaves much to be desired. There is no way to print, place comments in, organize, or copy event rule code from one site to another as with the AWE. In the future, I would very much like to see GlobalSCAPE improve upon the development of this portion of their EFT Server Enterprise product.
cdlvj
 Posted 2/3/2012 6:38:19 AM
Supreme Being

Supreme Being - (685 reputation)Supreme Being - (685 reputation)Supreme Being - (685 reputation)Supreme Being - (685 reputation)Supreme Being - (685 reputation)Supreme Being - (685 reputation)Supreme Being - (685 reputation)Supreme Being - (685 reputation)Supreme Being - (685 reputation)

Group: Forum Members
Last Active: 2/8/2013 9:14:38 AM
Posts: 43, Visits: 153
685
The other way to do this is to have a generic event handler which can identify where to send the file, either by a ini file or database table.
The filename is built with a certain file extension which is used to grab the destination info from the ini/db table. You just have one id to send the files to, and use the file upload event.

We send out hundreds of files out all at one time with no issues at all.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top