web stats
Transformer Message Builder Set Not working after Javascript Step - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2016, 05:34 PM
doc_fun doc_fun is offline
What's HL7?
 
Join Date: Dec 2016
Posts: 2
doc_fun is on a distinguished road
Cool Transformer Message Builder Set Not working after Javascript Step

All Message Builder steps after a Javascript step do no populate the outbound message.

Steps 1 and 2 populate correctly on the attached. But steps 4 and 6 result in empty fields.

If I move the Message Builder step above the Javascript step the field maps properly.

Is this by design?








Version - Mirth Connect Server 3.4.2.8129
Attached Images
File Type: png transformer.png (23.9 KB, 12 views)
Reply With Quote
  #2  
Old 12-02-2016, 07:10 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,098
narupley is on a distinguished road
Default

Are you returning or something in that JavaScript step? If so, don't do that.
__________________
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
  #3  
Old 12-02-2016, 10:41 AM
doc_fun doc_fun is offline
What's HL7?
 
Join Date: Dec 2016
Posts: 2
doc_fun is on a distinguished road
Default

Yes I did have a return in the step. My reading is for a sql server dbms, but in the step I am pulling from MySQL. I have removed the return from the step and it seems like the step is still working properly and populating fields from the reader. Thanks
Reply With Quote
Reply

Tags
javascript, mapping, message builder, transformer

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:13 AM.


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