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

      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();
      

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: