Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2006

Add "correlateAll" to Correlation Builder to allow for multiple messages to be sent in one go

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.2.0, 7.2.0-alpha3
    • None
    • engine
    • None

      The current message correlation API allows "only" to correlate a message to exactly one process instance. There are a couple of use cases where you want to send a message to x waiting processes - hence the correlation query results in multiple executions being found. It would be pretty convenient to allow to trigger them all in one go.

      runtimeService.createMessageCorrelation("orderCancelled")
      ...
      .correlateAll(); <<< Add this

        This is the controller panel for Smart Panels app

            [CAM-2006] Add "correlateAll" to Correlation Builder to allow for multiple messages to be sent in one go

            Bernd Ruecker created issue -
            Daniel Meyer made changes -
            Description Original: The current message correaltion API allows "only" to correlate a message to exactly one process instance. There are a couple of use cases where you want to send a message to x waiting processes - hence the correlation query results in multiple executions being found. It would be pretty convenient to allow to trigger them all in one go. New: The current message correaltion API allows "only" to correlate a message to exactly one process instance. There are a couple of use cases where you want to send a message to x waiting processes - hence the correlation query results in multiple executions being found. It would be pretty convenient to allow to trigger them all in one go.

              runtimeService.createMessageCorrelation("orderCancelled")
                ...
                .correlateAll(); <<< Add this
            Robert Gimbel made changes -
            Fix Version/s Original: 7.2.0 [ 12997 ]

            I proposed a pull request for this.

            See https://github.com/camunda/camunda-bpm-platform/pull/80

            Michael Scholz added a comment - I proposed a pull request for this. See https://github.com/camunda/camunda-bpm-platform/pull/80
            Robert Gimbel made changes -
            Fix Version/s New: 7.2.0 [ 12997 ]

            I am resolving the issue, so we will look at the pull request in the next days.

            Thanks a lot!

            Robert Gimbel added a comment - I am resolving the issue, so we will look at the pull request in the next days. Thanks a lot!
            Robert Gimbel made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            Remaining Estimate New: 0 minutes [ 0 ]
            Original Estimate New: 0 minutes [ 0 ]
            user-a6477 (Inactive) made changes -
            Assignee New: Roman Smirnov [ smirnov ]
            Roman Smirnov made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            Roman Smirnov added a comment - See https://github.com/camunda/camunda-bpm-platform/pull/80#issuecomment-47194221

              matthijs.burke Matthijs
              ruecker Bernd Ruecker
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: