Page 1 of 1

workflow which need some data from user

PostPosted:Thu Jan 27, 2011 7:03 pm
by gaga
I use OpenKM from cvs (5.1). I integrate the workflow example from http://wiki.openkm.com/index.php/User_input_request .
Everithing is ok, except condition amount>100 or amount>100. Every time when I insert a value in textbox I have error message:

OKM-015026(setTaskInstanceValues): OKM-015026
couldn't evaluate expression '#{(amount>100)?'trNotAvailable':'trAvailable'}'

Why ? Does anybody know what is wrong ?

Re: workflow which need some data from user

PostPosted:Thu Jan 27, 2011 11:13 pm
by gaga
In fact the error is:
21:47:41,317 ERROR [WorkflowServlet] com.openkm.bean.form.Input cannot be cast to java.lang.String
com.openkm.core.WorkflowException: com.openkm.bean.form.Input cannot be cast to java.lang.String
or
21:47:41,317 ERROR [WorkflowServlet] com.openkm.bean.form.Input cannot be cast to java.lang.Long
com.openkm.core.WorkflowException: com.openkm.bean.form.Input cannot be cast to java.lang.Long

Re: workflow which need some data from user

PostPosted:Tue Feb 01, 2011 2:47 pm
by pavila
I can't recommend you to use OpenKM 5.1-SNAPSHOT because is quite unstable and because we make heavy changes very often.