[jboss-user] [jBPM] - Problems in using JBPM5
Estelle Guallar
do-not-reply at jboss.com
Fri Jan 6 08:58:21 EST 2012
Estelle Guallar [http://community.jboss.org/people/jbpm2011] created the discussion
"Problems in using JBPM5"
To view the discussion, visit: http://community.jboss.org/message/645050#645050
--------------------------------------------------------------
Hi forums
I'm new in using the jbpm5, i want to fill a process throught out the factory :
RuleFlowProcessFactory factory = RuleFlowProcessFactory.createProcess("org.jbpm.process");
factory
.humanTaskNode(i)
.actorId(participantAttribute.getName())
.taskName(bpmTask.getTask().getBPMTask().getName())
.swimlane(bpmLane.getName())
.comment("c'est une tâche spécifique")
.content(bpmTask.getTask().getDynRoots().toString())
.onEntryAction("java", "script en entree")
.onExitAction("java", "script en sortie")
.inMapping("entry point", bpmTask.getDeclaredEntryStates().toString())
.outMapping("exit point", bpmTask.getDeclaredExitStates().toString())
.skippable(false)
.priority("1")
.waitForCompletion(true)
.done();
As you can see i use to fill this process through another file but i have problems that all the params are string but i want to use somthing else and not string how can i do it?
Also for the task can we have under tasks means step 1 step 2 ... for the same task?
And for the same human task can we add another task or we have only the possibility to add one task for the same human task?
forgive me for my bad english
with best regards
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645050#645050]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120106/a105d8fb/attachment.html
More information about the jboss-user
mailing list