Basic pooled sample

Download the sample code pooled.par 

Process image

 

Process definition

<?xml version="1.0" encoding="UTF-8"?>
<process-definition  xmlns="urn:jbpm.org:jpdl-3.2" name="pooled">
  <start-state name="start">
    <transition to="task" name="to-task"></transition>
  </start-state>

  <task-node name="task">
    <task name="sample">
      <assignment pooled-actors="okmAdmin,admin"></assignment>
    </task>
    <transition to="end" name="to-end"></transition>
 </task-node>

  <end-state name="end"></end-state>
</process-definition>

Process handlers

The sample has not process handlers. 

Form definition

<?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="sample">
  	<input name="text" label="Text" width="150px" />
  	<button name="submit" label="Submit" />
  </workflow-form>
</workflow-forms>