cant put channelMap on preprocessor and use on response transformer

jeudi 23 octobre 2014

Hello,

It seems that putting a channelMap key on the preprocessor script and retrieving it on the response tranformer is not allowed. On the response transformer retrieving the channelMap var returns a string "[object OBJECT]" and it should return a JS Object.

I know that you could think that I am just printing an object but NO the channelMap var truly contains a java.lang.String with the char sequence "[object OBJECT]". Very weird indeed...

I can use the channelMap var anywhere else like in destination transformer with no problems except in the response transformer...



I am not supposed to use channel map to pass variables from the preprocessor to a response transformer? How can the response transformer "magically" screw up my channelMap var?



Using Mirth 3.0.3





cant put channelMap on preprocessor and use on response transformer

0 commentaires:

Enregistrer un commentaire