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 ]
            Robert Gimbel made changes -
            Fix Version/s New: 7.2.0 [ 12997 ]
            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 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.

              runtimeService.createMessageCorrelation("orderCancelled")
                ...
                .correlateAll(); <<< Add this
            New: 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
            Roman Smirnov made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            Roman Smirnov made changes -
            Assignee Original: Roman Smirnov [ smirnov ] New: Matthijs [ matthijs.burke ]
            Sebastian Menski made changes -
            Assignee Original: Matthijs [ matthijs.burke ] New: Sebastian Menski [ sebastian.menski ]

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

                Created:
                Updated:
                Resolved: