I'm trying to set a attibute hire date from a entity provision with the ecma
script

function converttime()
{
var mydatestring = flowdata.get('hiredate')
var df = new java.text.SimpleDateFormat('yyyyMMddHHmmssSSSZ');
var date1 = df.format(mydatestring);
return date1;}
converttime();

the requst is returning

Workflow Error: Dataitem [hiredate] with expression [function converttime()
{ var mydatestring = flowdata.get('hiredate') var df = new
java.text.SimpleDateFormat('yyyyMMddHHmmssSSSZ'); var date1 =
df.format(mydatestring); return date1;} converttime();] failed to evaluate.


Regards



Niels Olsen
NetWork Service
Vestre Gade 5D
2605 Brøndby
Phone 45)36485008
Mobil Phone 45)21244799
Email:
nol@nwservice.dk
Web:
www.nwservice.dk