[jboss-user] [jBPM] - Re: jBPM5.1 : Setting Process Variable from code(Using API)

Sandeep Sapra do-not-reply at jboss.com
Wed Nov 16 02:26:13 EST 2011

Sandeep Sapra [http://community.jboss.org/people/sandeepsapra] created the discussion

"Re: jBPM5.1 : Setting Process Variable from code(Using API)"

To view the discussion, visit: http://community.jboss.org/message/636711#636711

Thanks Maciej Swiderski  and Esteban Aliverti for responding to my problem. I have solved the problem by setting 
Result Mapping for the user task ( {Result=approvalStatus} ) , along with defining the process variable, for which I was not aware of earlier.

*But now* I have an another query, where in I am trying to execute my bpmn in a web application and I have followed the steps give in the following articles.
Article 1:  http://community.jboss.org/people/bpmn2user/blog/2011/09/21/jbpm5-web-example http://community.jboss.org/people/bpmn2user/blog/2011/09/21/jbpm5-web-example
Article 2:  http://community.jboss.org/people/bpmn2user/blog/2011/04/03/jbpm5-human-task-api-usage-example http://community.jboss.org/people/bpmn2user/blog/2011/04/03/jbpm5-human-task-api-usage-example

*Desc:* I have multiple user tasks in my bpmn , and after completing one user task it should go to the other user task and so on.

*Problem :* Once I run the code ( using all the configuration told in the article), the human task view shows the user task to first user as reserved,but after starting and completing it , the workflow ends  and hence searching for tasks to other users shows nothing.

I tried the same using APIs also but the same problem comes.
Could you please suggest where I am wrong?



Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111116/cfda2aba/attachment.html 

More information about the jboss-user mailing list