JBoss Community

Re: How to associate a custom WorkItemNodeHandler in a subprocess?

created by Connie Yang in jBPM - View the full discussion

Yes.  I'm using the same text ("myHandler") in the subprocess WorkItemNode (s).

 

Here's how I define the WorkItemNode in my subprocess,




.workItemNode(6)




.workName("myHandler")




.workParameter(LcmConstants.LCM_SELECTOR, LockCommands.acquireLocksIfNeeded)




.inMapping("arg0", "workingSet")



.done()

 

Thanks,

Connie

Reply to this message by going to Community

Start a new discussion in jBPM at Community