I resolve with this code
| import org.jbpm.context.exe.ContextInstance;
| import org.jbpm.graph.exe.Token;
| import org.jbpm.taskmgmt.def.TaskControllerHandler;
| import org.jbpm.taskmgmt.exe.TaskInstance;
|
| public class AssegnaSuperVisoreAlTaskInstance implements TaskControllerHandler {
|
| private static final long serialVersionUID = 1L;
|
| public void initializeTaskVariables(TaskInstance taskInstance, ContextInstance
contextInstance, Token token) {
|
| taskInstance.setVariableLocally("supervisore",
org.jboss.seam.core.TaskInstance.instance().getActorId());
|
| }
|
| public void submitTaskVariables(TaskInstance arg0, ContextInstance arg1, Token arg2)
{
|
| }
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060328#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...