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? Regards, Sandeep -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/636711#636711] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user