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

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.2.0-alpha3
    • Component/s: engine
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            matthijs.burke Matthijs Burke
            Reporter:
            ruecker Bernd Rücker
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: