|
#1
|
|||
|
|||
|
Hello @ all,
i am at the end of my nervs. I need to build an MDM, so I need the filename of the PDF.I searched and searched and the only result i get is "use $('originalFilename')". So i have only one transformer with onyl one line Code:
var file_name = $('originalFilename');
[2012-06-21 11:38:24,044] ERROR (com.mirth.connect.connectors.file.FileMessageRece iver:234): Unable to route.org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect. connectors.file.FileConnector@1964a90, endpointUri=file://D:/HL7/testRW, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_fileEndpoint#1887856890', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionCon fig@54eb70, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String If i delete the line, moving a file works, only getting the filename is the problem. So please can someone find the failure and bring me back to right way of coding? Sorry i know thats the wrong forum... please change to support. Last edited by RonnyW; 06-21-2012 at 04:06 AM. Reason: wrong forum channel |
|
#2
|
|||
|
|||
|
It works for me.. no errors.
|
|
#3
|
|||
|
|||
|
I am getting the same error in my transform with just a basic javascript line....did you get any answer?
|
|
#4
|
|||
|
|||
|
Can you post the channel you're using?
__________________
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. ![]()
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|