From jira-events at lists.jboss.org Wed Sep 2 09:53:24 2009 Content-Type: multipart/mixed; boundary="===============0185745222674708704==" MIME-Version: 1.0 From: Joram Barrez (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Closed: (JBPM-2471) Params submitted via a taskform tied to the start activity cant be referenced in expressions till a task halt has been added to the workflow Date: Wed, 02 Sep 2009 09:53:24 -0400 Message-ID: <24188740.1251899604231.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1214939913.1249569330041.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com --===============0185745222674708704== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBPM-2471?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Joram Barrez closed JBPM-2471. ------------------------------ Resolution: Duplicate Issue Correct, this issue should be fixed by the issue you pasted. > Params submitted via a taskform tied to the start activity cant be refere= nced in expressions till a task halt has been added to the workflow > -------------------------------------------------------------------------= ------------------------------------------------------------------- > > Key: JBPM-2471 > URL: https://jira.jboss.org/jira/browse/JBPM-2471 > Project: jBPM > Issue Type: Bug > Security Level: Public(Everyone can see) = > Affects Versions: jBPM 4.0 > Environment: Win XP, Jboss 5.0 GA, JBPM4, HSQL (bundled) > Reporter: Lalit Mathwani > > See :http://www.jboss.org/index.html?module=3Dbb&op=3Dviewtopic&t=3D15941= 4 for a description of the issue. > Here's a process description snippet: > > > = > > > > > > = > = > > > > > > > > > = > > = > = > = > > > > > > > > > > > We have a form tied to the start activity. In this form(request_help.ftl)= , we submit a param hr_subcategory: > > Sub-categories: > > > > > We transition to the is_lab_approval_needed decision after a debug activi= ty. In the decision, is_lab_approval_needed, we try to reference the hr_sub= category value as follows in one of the conditions: > > This reference causes a Null pointer to be thrown back on the BPM workflo= w console. > Now introduce a halt in the workflow before the decision eg : > > = > > > > > > > > = > = > = > = > = > = > = > > > > > > > > > > > = > The NPE is resolved - the hr_subcategory is now visible in the decision a= fter the manager approval. > The params submitted via the taskform linked with the start activity shou= ld be available in any subsequent activity for reference in a expression ..= without having to impose a halt in the workflow like we had to. > = -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============0185745222674708704==--