Hi,
I just started examining workflows for our company and have been trying to do a basic task assignment with a simple form. The problem I am encountering is even though I assign a task using the assignment actor-id, the task form pops up for the user who started the workflow. In my example, okmAdmin is assigned to the task node, but if a user with the username Bluemule initiates the workflow for a file the task form instantly pops up for Bluemule. If Bluemule clicks cancel, the workflow is never started, if Bluemule completes the task form an error message is generated for okmAdmin upon login. Below is my simple.jpdl.xml and forms.xml. I've attached a screenshot of the error message when okmAdmin logs in (assuming the user Bluemule completed the forms task). My main question is, why is Bluemule having the task form pop up when the task is assigned to okmAdmin? Thanks!
--simple.jpdl.xml--
I just started examining workflows for our company and have been trying to do a basic task assignment with a simple form. The problem I am encountering is even though I assign a task using the assignment actor-id, the task form pops up for the user who started the workflow. In my example, okmAdmin is assigned to the task node, but if a user with the username Bluemule initiates the workflow for a file the task form instantly pops up for Bluemule. If Bluemule clicks cancel, the workflow is never started, if Bluemule completes the task form an error message is generated for okmAdmin upon login. Below is my simple.jpdl.xml and forms.xml. I've attached a screenshot of the error message when okmAdmin logs in (assuming the user Bluemule completed the forms task). My main question is, why is Bluemule having the task form pop up when the task is assigned to okmAdmin? Thanks!
--simple.jpdl.xml--
Code: Select all
--forms.xml---
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="urn:jbpm.org:jpdl-3.2"
name="simple">
<start-state name="start">
<transition to="run_config"></transition>
</start-state>
<task-node name="run_config">
<task name="run_config">
<assignment actor-id="okmAdmin"></assignment>
</task>
<transition to="end1"></transition>
</task-node>
<end-state name="end1"></end-state>
</process-definition>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE workflow-forms PUBLIC "-//OpenKM//DTD Workflow Forms 2.1//EN"
"http://www.openkm.com/dtd/workflow-forms-2.1.dtd">
<workflow-forms>
<workflow-form task="run_config">
<input label="suggested" name="suggested" />
<button name="submit" label="Submit" />
</workflow-form>
</workflow-forms>
