11-22-2006 03:00 PM
<types>
<type name="my:task">
<parent>bpm:workflowTask</parent>
<properties>
<property name="my:status">
<title>My status</title>
<type>d:text</type>
</property>
</properties>
</type>
</types><task-node name="myTaskNode">
<task name="my:task">
<event type="task-end">
<action name="task-end" class="my.repo.workflow.jbpm.TaskEndActionHandler" config-type="bean">
<status>The End</status>
</action>
</event>
<controller>
<variable name="my_status"/>
</controller>
</task>
</task-node>taskInstance.setVariable("my_status", "The End");andworkflowService.updateTask(globalId, taskProps, null, null);11-23-2006 07:09 AM
The taskInstance.setVariable() method seems to update the property OK, because if I do a taskInstance.getVariable() straight after, I get the correct value … however it gets set back to the old value somewhere else along the line.
11-23-2006 02:55 PM
12-01-2006 07:26 AM
The task-assign event also gets fired every time you save a task (from the manage task dialog).
My requirement is in fact to update the task status automatically once the user has set a start date and saved the task.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.