web stats
Set message status to 'FILTERED' - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 01-29-2016, 04:07 AM
dr169 dr169 is offline
What's HL7?
Join Date: Jan 2016
Posts: 1
dr169 is on a distinguished road
Default Set message status to 'FILTERED'

I am trying to set the message status to FILTERED from a Javascript Writer, is this possible?

I can return new Response(FILTERED, '', 'Filtered)
or return ResponseFactory.getFilteredResponse('Filtered');

but all result in an ERROR status.

Reply With Quote
Old 01-29-2016, 07:31 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

No, you can only filter the message in the filter. Once it gets past the filter you can only set it to SENT, ERROR, or QUEUED (if queuing is enabled).
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote

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 02:14 AM.

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