Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3484

Listeners not ready when signal is emitted in subprocess

    XMLWordPrintable

Details

    Description

      An signal sent by a subprocess is not captured correctly in an intermediate capture event.

      To detect, you can set the scope to project instead of per process and previous instances of the project will capture the signal (as at that time they have the listener waiting for the signal)

      Attached a project with signal scope "Project" and output showing that the previous instance listen to this signals

      solution

      To avoid problems with the action nodes (intermediate throw) I added a new metadata for the node
      "executeActionAfterComplete" when is set to true the signal is process after finishing processing the current flow.(like a passthrough)

      https://github.com/kiegroup/jbpm/pull/1880/files#diff-3bb9f48c4484a807e42314ab3250ad0f97819113aadac6739c9bc771a536777aR77-R79

      Attachments

        1. 02873851-multicon.zip
          21 kB
        2. 02873851-reproducer.zip
          21 kB
        3. signal-listener-subprocess.png
          signal-listener-subprocess.png
          59 kB
        4. signal scope.png
          signal scope.png
          23 kB
        5. waiting-state.png
          waiting-state.png
          39 kB

        Issue Links

          Activity

            People

              elguardian@gmail.com Enrique González Martínez
              afanjula@redhat.com Alberto Fanjul Alonso
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: