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

I can correlate a message by processInstanceId

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.1.0, 7.1.0-alpha4
    • None
    • engine

      Add support for correlating a message using the processInstanceId.

      Note: think about adding a parameter object to correlateMessage instead of duplicating the method set (or fluent builder)

        This is the controller panel for Smart Panels app

            [CAM-1775] I can correlate a message by processInstanceId

            Daniel Meyer added a comment -

            Added fluent Builder:

            runtimeService.createMessageCorrelation(messageName)
            .processInstanceBusinessKey("aBusinessKey")
            .processInstanceVariableEquals("aKey", "aValue")
            .processInstanceId("someId")
            .setVariable("aProcessVariable", "aVariableValue")
            .setVariable("aSecondProcessVariable", "aVariableValue")
            .correlate();

            This will allow adding all the features we might come up with in the future without having to add more methods to runtime service

            Daniel Meyer added a comment - Added fluent Builder: runtimeService.createMessageCorrelation(messageName) .processInstanceBusinessKey("aBusinessKey") .processInstanceVariableEquals("aKey", "aValue") .processInstanceId("someId") .setVariable("aProcessVariable", "aVariableValue") .setVariable("aSecondProcessVariable", "aVariableValue") .correlate(); This will allow adding all the features we might come up with in the future without having to add more methods to runtime service

              sebastian.menski Sebastian Menski
              gimbel Robert Gimbel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: