Page 1 of 1

Cant End My workflow

PostPosted:Tue Mar 11, 2014 8:08 pm
by basel
hello every one ,
i have a simple workflow with simple form and input variable ,
i deploy the workflow to openkm and start the workflow successfully
and i fill the form with the next user assign and submit ,
but when i go to work flow to show it after ended i get this error
Error.JPG
Error.JPG (17.35 KiB) Viewed 2638 times
my workflow file
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>

<process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="WorkFlowWithForm">


	<start-state name="start-state1">
		<transition to="task-node1"></transition>
	</start-state>


	<task-node name="task-node1">
		<task name="FillData">
			<assignment actor-id="basel"></assignment>
			<controller></controller>
		</task>
		<transition to="end-state1"></transition>
	</task-node>


	<end-state name="end-state1"></end-state>


</process-definition>

and this is the form
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.4//EN" "http://www.openkm.com/dtd/workflow-forms-2.4.dtd">

<workflow-forms>
  <workflow-form task="FillData">
    <input  label ="number"  name ="number" />
    <button name="submit" label="Submit" validate="true" style="yes"/>
  </workflow-form>
</workflow-forms>

i use windows 7
OpenKM v 6.2.5 with community extension

what is my problem ???
many thanks .

Re: Cant End My workflow

PostPosted:Wed Mar 12, 2014 10:39 am
by jllort
Have you write yourself or modified one of ours samples ?

Re: Cant End My workflow

PostPosted:Wed Mar 12, 2014 10:44 am
by basel
i write one by myself and get the problem

and i download sample and deploy it as is and get the same problem

Re: Cant End My workflow

PostPosted:Thu Mar 13, 2014 8:31 am
by jllort
what did you download exactly ?

Re: Cant End My workflow

PostPosted:Thu Mar 13, 2014 8:42 am
by basel
Medium.par

Re: Cant End My workflow

PostPosted:Thu Mar 13, 2014 4:34 pm
by basel
its resolved , the problem because the database and the form dosnt work correctly with the default data base ( HSQLDB),and when i change it to Mysql Database every think is Ok :lol:

Re: Cant End My workflow

PostPosted:Fri Mar 14, 2014 8:26 am
by jllort
I know with HSQL there're some problems. Always will be better working with Mysql, PotgreSQL or other dabase, specially if you're on production environment. We do not recommend HSQL except for testing purposes.