Profile Picture

scripting event rules

Posted By ebyland 2 Years Ago
Author
Message
ebyland
Posted 2 Years Ago
View Quick Profile
Supreme Being

Supreme Being (208 reputation)Supreme Being (208 reputation)Supreme Being (208 reputation)Supreme Being (208 reputation)Supreme Being (208 reputation)Supreme Being (208 reputation)Supreme Being (208 reputation)Supreme Being (208 reputation)Supreme Being (208 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 45, Visits: 6
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 2 Years Ago
View Quick Profile
Supreme Being

Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)Supreme Being (5,619 reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 310, Visits: 513
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).

Tags
cgrego
Posted 2 Years Ago
View Quick Profile
Supreme Being

Supreme Being (427 reputation)Supreme Being (427 reputation)Supreme Being (427 reputation)Supreme Being (427 reputation)Supreme Being (427 reputation)Supreme Being (427 reputation)Supreme Being (427 reputation)Supreme Being (427 reputation)Supreme Being (427 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 13, Visits: 38
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.

cdlvj130
Posted 2 Years Ago
View Quick Profile
Supreme Being

Supreme Being (781 reputation)Supreme Being (781 reputation)Supreme Being (781 reputation)Supreme Being (781 reputation)Supreme Being (781 reputation)Supreme Being (781 reputation)Supreme Being (781 reputation)Supreme Being (781 reputation)Supreme Being (781 reputation)

Group: Forum Members
Last Active: 3 Weeks Ago
Posts: 63, Visits: 329
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


Reading This Topic