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

When you map a local variable to a Throw signal node, the local variable looses it's type declaration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 6.4.9
    • Eclipse Tooling
    • Red Hat JBoss Developer Studio
      Version: 11.0.0.GA
      Version: 11.1.0.GA

    • User Experience
    • Workaround Exists
    • Hide

      remapping throwSignal to String , error goes

      Show
      remapping throwSignal to String , error goes
    • Hide

      > Create new bpmn2 process
      > Add local variable throwSignal as a String
      > Create Script Task and set throwSignal to "newsignal"
      > Add an Intermediate Throw Event -> Signal
      > Create an Input parameter mapped to throwSignal (inParam1 -> throwSignal)
      > Edit the event definition add a signal (AnySignal) and map it to your throwSignal variable.

      Suddenly the Local variable declaration loses the String type and compiler complains about "Local Variable throwSignal has no Data Type".

      Again remapping throwSignal to String makes the error go away.

      Show
      > Create new bpmn2 process > Add local variable throwSignal as a String > Create Script Task and set throwSignal to "newsignal" > Add an Intermediate Throw Event -> Signal > Create an Input parameter mapped to throwSignal (inParam1 -> throwSignal) > Edit the event definition add a signal (AnySignal) and map it to your throwSignal variable. Suddenly the Local variable declaration loses the String type and compiler complains about "Local Variable throwSignal has no Data Type". Again remapping throwSignal to String makes the error go away.

      In Red Hat JBoss Developer Studio when you map a local variable to a Throw signal node, the local variable looses it's type declaration.

              kverlaen@redhat.com Kris Verlaenen
              rhn-support-rangupta Ranjay Gupta (Inactive)
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: