Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4786

Error when using object attribute in reusable process Called Element field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 6.4.4
    • Eclipse Tooling
    • None
    • Workaround Exists
    • Hide

      The workaround is to use a temp String variable, because it will work with #

      {myStrPid}

      , for example.

      Show
      The workaround is to use a temp String variable, because it will work with # {myStrPid} , for example.
    • Hide
      • Create a sample project for jBPM that has a reusable subprocess node
      • create a model object with a String attribute and respective get/set
      • try to use the attribute in the reusable subprocess node "Called Element" field using a MVEL expression.
      Show
      Create a sample project for jBPM that has a reusable subprocess node create a model object with a String attribute and respective get/set try to use the attribute in the reusable subprocess node "Called Element" field using a MVEL expression.

      Error when using a model object attribute as the Called Element in a reusable subprocess in JBD tooling:

      The error is:

      The name #{info.pid} is not a valid process variable
      

      Same error happens with info.getPid(), for example.

              mnovotny@redhat.com Marek Novotny
              rhn-support-wsiqueir William Siqueira
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: