Aditya Gaurav [
https://community.jboss.org/people/e3aa3b] created the discussion
"setActorID for Swimlane in JBPM5"
To view the discussion, visit:
https://community.jboss.org/message/799559#799559
--------------------------------------------------------------
Hi,
How can we dynamically set the actor ID for a Swimlane in JBPM5? Following snippet doesnt
persist the information:
=====================
ProcessInstance pi = ksession.startProcess("com.sample.evaluation1");
Process p = pi.getProcess();
WorkflowProcess wfp = (WorkflowProcess)p;
WorkflowProcessInstance wfpi = (WorkflowProcessInstance)pi;
SwimlaneContextInstance slci =
(SwimlaneContextInstance)wfpi.getContextInstance(SwimlaneContext.SWIMLANE_SCOPE);
SwimlaneContext sc = slci.getSwimlaneContext();
Swimlane s1 = sc.getSwimlane("SL1");
s1.setActorId("krisv");
=====================
Do I need to follow above calls with a persistence call to save the session or something?
Any pointers will be really helpful.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/799559#799559]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]