web stats
Doubt in Database reader - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2017, 04:44 AM
vibinChander vibinChander is offline
OBX.2 Kenobi
 
Join Date: Jul 2015
Location: Chennai
Posts: 74
vibinChander is on a distinguished road
Send a message via Skype™ to vibinChander
Default Doubt in Database reader

Im using a query to fetch records from DB in the Database Reader using Javascript first text area. Im processing the result set using while loop. Now the result at last contains certain value.

I want to use that same value in the post-processor script on the next text area. But I cannot use it. I tried channelMap it does not work, neither does the global map. Im using the mirth version. 3.4.2
__________________

Mirth Interface Engineer
AWS DevOps
Reply With Quote
  #2  
Old 08-20-2017, 10:15 PM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

Return the result set, to make it available inside your source transformer. There you can iterate over the results and do whatever you want.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
Reply

Tags
javascript, mirth3.4, mssql

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 04:38 AM.


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