Monica Chang 24.Mar.04 02:59 AM a Web browser Conversion of existing workflows3.0Windows 2000
Hi,
**There is an action with following java script for create a workflow document.
------------------------------------------------
var now = new Date();
var userna = document.forms[0].username.value;
var createddate = "" +now.getYear() + "/"+(now.getMonth()+1)+"/" +now.getDate();
var tHours = now.getHours();
var tMins = now.getMinutes();
var tSec = now.getSeconds();
var tAP = "PM";
if (tMins < 10) {tMins="0"+tMins;}
if (tSec < 10) {tSec="0"+tSec;}
if (tHours < 12) {tAP="AM";}
if (tHours > 11) {tHours=tHours-12;}
if (tHours < 10) {tHours="0"+tHours;}
var createdtime = tHours +":" + tMins+":" +tSec+" " +tAP;
var JobName= userna + "'s 內部公文(" +createddate+" "+createdtime+")";
var ProcessName = "內部公文";
var Priority = "2. 中";
LWFNewJob(ProcessName, JobName, Priority,"" ,"_self");
------------------------------------------------
**Then it shows error message on the web page is...
Error 500
HTTP Web Server: Corrupt Data Exception
**and the error message in log.nsf file is...
------------------------------------------------
HTTP Web Server: Corrupt Data Exception [/testarea/UITC/Credit/Archive.nsf/0/635A373B9FB67BFB48256E610025387E?Edit]
------------------------------------------------
Can anybody tell me what happened?
Thank you very much.Very appreciat.