Hi,
I am new to OpenKM,
I have a process which has multiple task nodes with actor-Id associated with it and this process has a workflow forms. Every task node as asscoiated workflow form whcih are defined in forms.xml. We are able to see form for run_config (start node) and first task node (task-node1) when the workflwo is started and when first task is assigned to the user. When second task node is assigned to the user user is assigned the task but the form is not visible. I'm using is OpenKM 5.1.10 community version.
processdefinition.xml
forms.xml
Let me know if I am making any mistake.
I am new to OpenKM,
I have a process which has multiple task nodes with actor-Id associated with it and this process has a workflow forms. Every task node as asscoiated workflow form whcih are defined in forms.xml. We are able to see form for run_config (start node) and first task node (task-node1) when the workflwo is started and when first task is assigned to the user. When second task node is assigned to the user user is assigned the task but the form is not visible. I'm using is OpenKM 5.1.10 community version.
processdefinition.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="urn:jbpm.org:jpdl-3.2"
name="test2">
<start-state name="start">
<transition to="task-node1"></transition>
</start-state>
<task-node name="task-node1">
<task name="task 1">
<assignment actor-id="shahid"></assignment>
<event type="task-create">
<script>taskInstance.start();</script>
</event>
</task>
<transition to="task-node2"></transition>
</task-node>
<task-node name="task-node2">
<task name="Task 2">
<assignment actor-id="shahid"></assignment>
</task>
<transition to="end"></transition>
</task-node>
<end-state name="end"></end-state>
</process-definition>
forms.xml
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 1.1//EN"
"http://www.openkm.com/dtd/workflow-forms-1.1.dtd">
<workflow-forms>
<workflow-form task="run_config">
<input label="Number to guess" name="number" />
<button name="submit" label="Submit" />
</workflow-form>
<workflow-form task="task 1">
<input label="Guess" name="guess" />
<button name="submit" label="Submit" />
</workflow-form>
<workflow-form task="task 2">
<input label="Guess2" name="guess2" />
<button name="submit" label="Submit" />
</workflow-form>
</workflow-forms>
Let me know if I am making any mistake.