Saturday, October 1, 2011

Gentran - Need to Send that 997 Now

Recently I was visiting a client whom had a need to send functional acknowledgments instantly upon a transactions receipt. This works fine for any transaction being imported through the Process Controller as you can always put a GDW_Send at the end of the import workflow; but there is no mechanism for automatically sending those pesky 997s or any other system documents that were generated from data passing through the mailboxes and are not part of a Process Control work flow? Now you could setup a send session to run every one or two minutes; however, at times of great traffic those session can start to backup in the queue and really bog down the server. So is an alternative that will only send 997s as they are generated. As a note it has worked well in testing; however, I have not tried it yet on a large volume server, so I do not know what if any issues could come out of it. That said here is how it works.

1. Create a send session of the mailbox that will be sending the data.
2. Create a new Event and set it up as a Notification Type of Event.
3. Setup a new Audit Message under Gentran:Server Configuration, Audit/Notification Tab, under the Audit Messages button.
4. Setup a new Notification under Gentran:Server Configuration, Audit/Notification Tab, under the Notifications button.
5. Here is where everything gets tied together. Position an auditlog command under the Session Rules, Post-session so as the map closes it will initiate the Send Tutorial created in step 1.
6. Compile and Register the map and enjoy…

No comments:

Post a Comment