web stats
connectorMessage.getTransformedData returns Null - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2015, 02:04 AM
Willo Willo is offline
Mirth Newb
 
Join Date: Aug 2009
Posts: 13
Willo is on a distinguished road
Default connectorMessage.getTransformedData returns Null

Hi,

We're busy porting a channel from Mirth 2.3, to Mirth 3.3.1 where we need access to the Transformed message in a destination. The problem is that connectorMessage.getTransformedData returns Null.

Dumping connectorMessage to the log we get:
message 10-1 (QUEUED)

I'm sure we're missing something obvious here.
Reply With Quote
  #2  
Old 11-25-2015, 02:17 AM
knsl840 knsl840 is offline
What's HL7?
 
Join Date: May 2015
Posts: 2
knsl840 is on a distinguished road
Default connectorMessage.getTransformedData returns Null

Hello Willo,


The class object which you're using is deprecated, so please use ImmutableConnectorMessage.getTransformedData() instead and give it a try.

Cheers
Reply With Quote
  #3  
Old 11-25-2015, 06:48 AM
narupley's Avatar
narupley narupley is offline
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

That's not quite correct... It was "messageObject" which was deprecated in 3.x. The "connectorMessage" variable is the correct one.

Are you trying to use that in a JavaScript Writer? Note that if you don't have any transformer steps (or outbound template), then there will be no transformed data, because the transformer did not execute.
__________________
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
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 08:35 PM.


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