JBoss Community

Re: Start a new process

created by Parvez Shah in jBPM - View the full discussion

Thank you for the quick reply,

I am sorry if my question was not clear.. 

 

I need to know what are the parameter i need to pass to start the process

 

>>ksession.startProcess("process.id", parameters);

>>Where parameters is a Map<String, Object> that contains the information to initialize the process.

 

use case is very standard use case ..

 

user will select a process to start , for example taxi booking,

UI will be created dynamicaly, based upon what kind of parametr has to be passed to start the process,

and then upon submit we will start the process,

 

 

But as you have said

>>If you don't want to do that, you need to start first the process with any parameters and then present the first task to the user to complete the booking information.

 

in this manner we will have many orphan process as maybe user will simply open booking screen and then browse away from the page

Reply to this message by going to Community

Start a new discussion in jBPM at Community