web stats
Send message various destination - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 03-24-2019, 01:07 AM
mberges mberges is offline
OBX.1 Kenobi
Join Date: Jan 2018
Posts: 44
mberges is on a distinguished road
Default Send message various destination

Good. I have a channel with a source and several destinations. What I want is in a filter function to send the message to one destination or another. I have a defined variable that with a switch I want to send to a destination or another
Reply With Quote
Old 03-25-2019, 05:19 AM
sgrimard sgrimard is offline
What's HL7?
Join Date: Mar 2019
Posts: 1
sgrimard is on a distinguished road

I think what you want to do here is add a filter on each of your destination. That filter could contain your shared function that you are describing.
Reply With Quote
Old 03-25-2019, 09:40 AM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,097
agermano is on a distinguished road

In your source transformer, you can use a destinationSet filter to do this. If you are on version 3.5 or higher there is a transformer step designed for this. In most 3.x versions you can also do it in javascript using the DestinationSet class from the User API.
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 09:20 PM.

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