passing date variable in orchestrator connector
Hi,
We are trying to update a table based on certain criteria passed from a Data request to a connector using groovy script. The data passed are AN8, Route code and Start date. When we are using AN8 and Rout code we can update the table but I am finding it difficult to pass the date variable and do the update. Below is the code can someone help with this:
{
HashMap<String, Object> returnMap = new HashMap<String, Object>();
//String inputAN8 = (String)inputMap.get("AN8");
Long inputAN8 = new Long ((String)inputMap.get("DMAN8"));
String inputROUT = (String)inputMap.get("DMROUT");
String inputDATE = (String)inputMap.get("DMSTRT");