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

Job suspension state is not updated when suspending/activating a process instance by id

    XMLWordPrintable

Details

    Description

      Steps to reproduce:
      1) deploy a process with a job
      2) start a process instance of that process
      3) suspend process instance by RuntimeService#suspendProcessInstanceById()

      Problem:
      The corresponding job is still active.

      Expected Behavior:
      The corresponding job is suspended.

      Hint:
      In this case instead of builder.processDefinitionId() this builder.byProcessInstanceId() must be used.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              roman.smirnov Roman Smirnov
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce