web stats
File reader error handling - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 01-17-2019, 01:18 AM
Jacksonv Jacksonv is offline
What's HL7?
Join Date: Jan 2019
Location: Chennai,India
Posts: 5
Jacksonv is on a distinguished road
Default File reader error handling

Hi All,

I have developed a mirth interface which reads a text file from SFTP(using file reader) and posts each line in file to an API(using HTTP sender). I am using batch processing logic to process each line in file separately.

Sometimes i face a weird issue, where only few records of file were processed (lets say 40 out of 200 were posted to API) and then the file was moved to Error directory. But i did not see any error in dashboard. And i do not know what went wrong(may be an issue with SFTP connection?)

This is a problem because when we reprocess the file, those 40 records are posted to API again and We are not supposed to post the same record to API twice.

How can i handle this situation in a better way? Any ideas will be appreciated. Thanks.

Reply With Quote

error handling, file reader

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 05:08 PM.

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