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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: