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

As CaseWorker I can terminate an active case execution

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0, 7.6.0-alpha3
    • Component/s: engine
    • Labels:

      Description

      AT:

      • the `CaseService` exposes the transition terminate to terminate an active case execution (or case instance):
        • CaseService#terminateCaseExecution()
        • CaseExecutionCommandBuilder#terminate()

        Activity

        Hide
        roman.smirnov Smirnov Roman added a comment -

        Review hints:

        • The JavaDoc of CaseService#terminateCaseExecution() and CaseExecutionCommandBuilder#terminate() says, that a NotAllowedException is thrown, when the case execution is a case instance. Could you please remove this, because it is not correct?
        • We should also provide the following API CaseService#terminateCaseExecution(String caseExecutionId, Map<String, Object> variables), like it is also done for CaseService#completeCaseExecution().
        Show
        roman.smirnov Smirnov Roman added a comment - Review hints: The JavaDoc of CaseService#terminateCaseExecution() and CaseExecutionCommandBuilder#terminate() says, that a NotAllowedException is thrown, when the case execution is a case instance. Could you please remove this, because it is not correct? We should also provide the following API CaseService#terminateCaseExecution(String caseExecutionId, Map<String, Object> variables) , like it is also done for CaseService#completeCaseExecution() .

          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:

              Development