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

I can use a Builder to Start a Process Instance by Id / Key on RuntimeService

    XMLWordPrintable

    Details

      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.

      runtimeService
        .createProcessInstanceByKey(key)
        .tenantId(tenant)
        .variables(vars)
        .start();
      

        Attachments

          Issue Links

            Activity

              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: