web stats
Batch Processing - Perform action after final message - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2018, 12:17 PM
ccitrano@tangible.com ccitrano@tangible.com is offline
OBX.3 Kenobi
 
Join Date: Apr 2008
Posts: 110
ccitrano@tangible.com
Default Batch Processing - Perform action after final message

All,

I'm processing a batch file csv file and am breaking it up into the individual messages as they go through using the ProcessBatch == Yes.

What I would l like to do is have a destination fire when the last message in the batch is processed.

For instance, a source CSV file as 100 records, I would process each of them as individual messages but have a destination that would fire after the last message. Thinking of doing something like a simple smtp notification when the file is complete. I don't want to get 100 emails, just one when the file is complete.

Is there a simple way to do this??

Thanks.
Chuck.
__________________
Chuck Citrano
ccitrano at tangible.com
[url][/http://www.tangible.comurl]
Reply With Quote
  #2  
Old 01-12-2018, 12:31 PM
ccitrano@tangible.com ccitrano@tangible.com is offline
OBX.3 Kenobi
 
Join Date: Apr 2008
Posts: 110
ccitrano@tangible.com
Default

All,

I see the batchComplete and batchSequence in the SourceMap.

I'm testing with that. Sorry for not checking first ...

Chuck.
__________________
Chuck Citrano
ccitrano at tangible.com
[url][/http://www.tangible.comurl]
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

Forum Jump


All times are GMT -8. The time now is 04:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Mirth Corporation