[jboss-user] [jBPM] - Start an InstanceProcess From a State

7ab3rn4t3 7ab3rn4t3 do-not-reply at jboss.com
Thu Apr 11 12:18:39 EDT 2013


7ab3rn4t3 7ab3rn4t3 [https://community.jboss.org/people/7ab3rn4t3] created the discussion

"Start an InstanceProcess From a State"

To view the discussion, visit: https://community.jboss.org/message/807809#807809

--------------------------------------------------------------
Hello

let's suppose that

I start a process in this way from a Servlet

Map<String, Object> params = new HashMap<String, Object>();
params.put("name", "Arthur");

ProcessInstance istance = ksession.startProcess("com.sample.bpmn.hello", params);

and put it in the httpSession.... am I correct?

let's suppose that on the state 5 I will save in my DB my process params (I don't know how yet!!!!!!!!!)

first of all:
How can I get that params map from a UserTask or Script in JBPM so that I can make a Class that save them on my db????

the Tomorrow
I reLoad my page and want to create a new process that begin from the state that I left the day before.
Of course I can detect the state by a parmeter saved in that map.....

but is there a way to begin a process from a specific state ?
which is ?

Thanks in advance
fabio
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807809#807809]

Start a new discussion in jBPM at Community
[https://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/20130411/de7dda02/attachment.html 


More information about the jboss-user mailing list