Activiti
  1. Activiti
  2. ACT-1103

Add support for bpmn20 message start event in engine

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9
    • Component/s: Engine
    • Labels:
    • Number of attachments :
      0

      Description

      • Process definitions can specify one or more message start events
      • There is a public API method part of the RuntimeService which allows starting a process instance using a messageName
      • If a process definition has a single message start event, it can also be started using RuntimeService.startProcessInstanceByKey/Id
      • If a process definition has a single none start event and an arbitrary number of message start events, RuntimeService.startProcessInstanceByKey/Id selects the none start event
      • Activiti will continue to throw an exception upon deployment of a process definition with multiple none start events
      • Activiti throws an exception upon deployment of two different process definitions which have the same message start event

        Activity

        Show
        Daniel Meyer (camunda) added a comment - - edited http://fisheye.codehaus.org/changelog/activiti/?cs=3192 http://fisheye.codehaus.org/changelog/activiti/?cs=3193
        Hide
        Daniel Meyer (camunda) added a comment - - edited

        Add support for querying for processDefinitions by start message name:

        repositoryService.createProcessDefinitionQuery().messageEventSubscription(messageName)

        http://fisheye.codehaus.org/changelog/activiti/?cs=3200

        Show
        Daniel Meyer (camunda) added a comment - - edited Add support for querying for processDefinitions by start message name: repositoryService.createProcessDefinitionQuery().messageEventSubscription(messageName) http://fisheye.codehaus.org/changelog/activiti/?cs=3200
        Hide
        Daniel Meyer (camunda) added a comment -

        As part of this issue I added the capability to start a process instance at an alternative initial.

        There still is a single, defined initial, but ProcessDefinitionImpl.createProcessInstanceForInitial(alternativeInitial);
        allows to select an alternative activity for starting the process instance.

        This method is not exposed in the PvmProcessDefinition interface.

        http://fisheye.codehaus.org/changelog/activiti/?cs=3201

        Show
        Daniel Meyer (camunda) added a comment - As part of this issue I added the capability to start a process instance at an alternative initial. There still is a single, defined initial, but ProcessDefinitionImpl.createProcessInstanceForInitial(alternativeInitial); allows to select an alternative activity for starting the process instance. This method is not exposed in the PvmProcessDefinition interface. http://fisheye.codehaus.org/changelog/activiti/?cs=3201
        Hide
        Daniel Meyer (camunda) added a comment -

        implemented and documented

        Show
        Daniel Meyer (camunda) added a comment - implemented and documented

          People

          • Assignee:
            Daniel Meyer (camunda)
            Reporter:
            Daniel Meyer (camunda)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: