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

Allow set business key for call activity in Fluent Builder API

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.18.0, 7.18.0-alpha2
    • None
    • bpmn model api
    • None

      User Story (Required on creation):

      Using the Java BPMN Model API, I can pass a business key down to the a called process instance.

      Functional Requirements (Required before implementation):

      • Fluent API of the Java BPMN Model API is extended
      • Javadocs exist
      • Behavior is tested

      Technical Requirements (Required before implementation):

      Calling the fluent builder API of the Java BPM Model API as follows:

      Bpmn.createProcess()
        .startEvent()
        .callActivity("call-activity")
          .camundaInBusinessKey("business-key")
        .endEvent()
        .done();
      

      Leads to generating the following BPMN XML:

      <bpmn:callActivity id="foo" 
                         name="Foo" 
                         calledElement="bar">
        <bpmn:extensionElements>
          <camunda:in businessKey="#{execution.processBusinessKey}" />
        </bpmn:extensionElements>
      </bpmn:callActivity> 
      

      Limitations of Scope (Optional):

      -

      Hints (optional):

      -

        This is the controller panel for Smart Panels app

              tassilo.weidner Tassilo Weidner
              artem7992 Artem Semenyuk
              Tassilo Weidner Tassilo Weidner
              Tassilo Weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: