Has anyone gotten task assignment to work with spring-jbpm? When I call my task assignment handler a record shows up in the database. However the only data it has is the id and name. There's nothing for actor id or create date. When I don't use spring jBPM these get populated with my same assignment handler. If anyone can point out what I'm doing wrong, I'd appreciate it.
Here's my handler:
public class TestTaskAssignmentHandler implements AssignmentHandler {
private static final long serialVersionUID = 1L;
public void assign(Assignable assignable, ExecutionContext executionContext)
{
assignable.setActorId("test");
}
}
And here's my process:
<?xml version="1.0" encoding="UTF-8"?>
<process-definition
xmlns="http://jbpm.org/3/jpdl"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"
name="test task">
<start-state name="start">
<transition name="begin" to="task"></transition>
</start-state>
<task-node name="task">
<task name="test">
<assignment
class="com.receller.bpm.TestTaskAssignmentHandler" />
</task>
<transition name="task" to="end"/>
</task-node>
<end-state name="end"></end-state>
</process-definition>


. For those that are interested, you just need to pass it into the ContextInstance setTransientVariable method. I created my own version of signal() that looks like this:
or at least raise an issue on jira to make sure this topic is not forgotten.
