How to send an array variable from script to script deploy Postprocessor

lundi 2 février 2015

How to send an array variable from script to script deploy Postprocessor, I tried with globalMap.put and channelMap.put unsuccessfully



script deploy:



var tab = new Array(20);

var tempDate = DateUtil.getCurrentDate('hhmmss') ;



for (i=0; i< tab.length;i++)

{

tab[i] = tempDate ;

}



globalMap.put("tab", tab);



Script Postprocessor:



var tab = globalMap.get("tab", tab);



==> La méthode 'com.mirth.connect.server.util.GlobalVariableStore .get(string,org.mozilla.javascript.Undefined)' est introuvable



In advance thank you





How to send an array variable from script to script deploy Postprocessor

0 commentaires:

Enregistrer un commentaire