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

I can use a Builder to Create a Case Instance on CaseService

    Details

      Description

      Currently, the caseService has many methods to create a case instance. To avoid more methods, the caseService should provide a builder. All existing methods should based on that builder.

      caseService
        .createCaseInstanceByKey(key)
        .tenantId(tenant)
        .variables(vars)
        .start();
      

        Issue Links

          Activity

          philipp.ossler Philipp Ossler created issue -
          philipp.ossler Philipp Ossler made changes -
          Field Original Value New Value
          Description Currently, the runtimeService has (too) many methods to start a process instance. To avoid more methods, the runtimeService should provide a builder. All existing methods should based on that builder.

          {code:java}
          runtimeService
            .createProcessInstanceByKey(key)
            .tenantId(tenant)
            .variables(vars)
            .start();
          {code}


           
          Currently, the caseService has many methods to create a case instance. To avoid more methods, the caseService should provide a builder. All existing methods should based on that builder.

          {code:java}
          caseService
            .createCaseInstanceByKey(key)
            .tenantId(tenant)
            .variables(vars)
            .start();
          {code}


           
          philipp.ossler Philipp Ossler made changes -
          Link This issue is related to CAM-5240 [ CAM-5240 ]
          philipp.ossler Philipp Ossler made changes -
          Link This issue is related to CAM-5213 [ CAM-5213 ]
          philipp.ossler Philipp Ossler made changes -
          Rank Ranked higher
          philipp.ossler Philipp Ossler made changes -
          Rank Ranked higher
          philipp.ossler Philipp Ossler made changes -
          Assignee Kristin Polenz [ polenz ]
          polenz Kristin Polenz made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          polenz Kristin Polenz made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Original Estimate 0 minutes [ 0 ]
          Remaining Estimate 0 minutes [ 0 ]
          Assignee Kristin Polenz [ polenz ] Thorben Lindhauer [ thorben.lindhauer ]
          Resolution Fixed [ 1 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          meyer Daniel Meyer made changes -
          Fix Version/s 7.5.0-alpha4 [ 14593 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Workflow camunda BPM [ 32233 ] Backup_camunda BPM [ 61011 ]

            People

            • Assignee:
              thorben.lindhauer Thorben Lindhauer
              Reporter:
              philipp.ossler Philipp Ossler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development