Interface CaseInstanceService

All Known Implementing Classes:
DefaultCaseInstanceService

public interface CaseInstanceService
Author:
Tijs Rademakers
  • Method Details

    • generateNewCaseInstanceId

      String generateNewCaseInstanceId()
      Returns:
      A new id that will be used when starting a case instance. This is for example needed to set the bidrectional relation when a process instance starts a case instance through a case task.
    • startCaseInstanceByKey

      String startCaseInstanceByKey(String caseDefinitionKey, String predefinedCaseInstanceId, String caseInstanceName, String businessKey, String executionId, String tenantId, boolean fallbackToDefaultTenant, String parentDeploymentId, Map<String,Object> inParametersMap)
    • handleSignalEvent

      void handleSignalEvent(EventSubscriptionEntity eventSubscription, Map<String,Object> variables)
    • deleteCaseInstance

      void deleteCaseInstance(String caseInstanceId)
    • deleteCaseInstancesForExecutionId

      void deleteCaseInstancesForExecutionId(String executionId)
    • deleteCaseInstanceWithoutAgenda

      void deleteCaseInstanceWithoutAgenda(String caseInstanceId)