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

As CaseWorker I can terminate an active case execution

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.6.0, 7.6.0-alpha3
    • None
    • engine

      AT:

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

        This is the controller panel for Smart Panels app

            [CAM-5873] As CaseWorker I can terminate an active case execution

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

            Roman Smirnov 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() .

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

                Created:
                Updated:
                Resolved: