web stats
More variables - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 09-26-2006, 03:03 AM
fernandoma fernandoma is offline
What's HL7?
Join Date: Sep 2006
Posts: 3
Default More variables

Hi, I create the step #0 in transformer:
var nombre = 'PETER';
localMap.put("PACI", nombre);

After in other step #1:

and the error is:

ERROR [4_destination_1.dispatcher.1] org.mule.impl.DefaultExceptionStrategy:
************************************************** ******************************
Message : TypeError: Cannot find function text. (<cmd>#2) (org.mozilla.javascript.EcmaError)
Type : org.mule.umo.transformer.TransformerException
Code : 64999
Transformer : Transformer{name='4_destination_1', returnClass=false, returnClass=false, sourceTypes=[]}
JavaDoc : http://mule.codehaus.org/docs/apidoc...Exception.html
************************************************** ******************************
Exception stack is:
1. TypeError: Cannot find function text. (<cmd>#2) (org.mozilla.javascript.EcmaError)
org.mozilla.javascript.ScriptRuntime:3226 (null)
2. TypeError: Cannot find function text. (<cmd>#2) (org.mozilla.javascript.EcmaError) (org.mule.umo.transformer.TransformerException)
com.webreach.mirth.server.mule.transformers.JavaSc riptTransformer:66 (http://mule.codehaus.org/docs/apidoc...Exception.html)
************************************************** ******************************



Reply With Quote
Old 09-26-2006, 11:31 AM
chrisl chrisl is offline
Mirth Employee
Join Date: Aug 2006
Posts: 967
chrisl is an unknown quantity at this point
Default Re: More variables

Make sure you are using a Javascript step, rather than a mapper step in your transformers.
Chris Lang
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping variables from preprocessor skrugg Support 3 05-26-2014 11:03 PM
Alert Template Variables tsmith Development 1 05-01-2008 02:41 PM
Global Variables gauchomike Support 2 02-19-2008 09:31 AM
SQL Variables not showing under Available Variables in 1.4 bobbie Support 4 04-23-2007 05:35 PM
Problems with variables fernandoma Support 1 09-26-2006 11:36 AM

All times are GMT -8. The time now is 01:36 PM.

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