Class CaseInstanceCollectionResource
java.lang.Object
org.flowable.cmmn.rest.service.api.runtime.caze.BaseCaseInstanceResource
org.flowable.cmmn.rest.service.api.runtime.caze.CaseInstanceCollectionResource
Modified the "createCaseInstance" method to conditionally call a "createCaseInstanceResponse" method with a different signature, which will conditionally return the case variables that
exist when the case instance either enters its first wait state or completes. In this case, the different method is always called with a flag of true, which means that it will always return
those variables. If variables are not to be returned, the original method is called, which doesn't return the variables.
- Author:
- Tijs Rademakers
-
Field Summary
FieldsFields inherited from class org.flowable.cmmn.rest.service.api.runtime.caze.BaseCaseInstanceResource
repositoryService, restApiInterceptor, restResponseFactory, runtimeService
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.flowable.cmmn.rest.service.api.runtime.caze.BaseCaseInstanceResource
addVariables, getCaseInstanceFromRequest, getCaseInstanceFromRequestWithoutAccessCheck, getQueryResponse
-
Field Details
-
historyService
-
-
Constructor Details
-
CaseInstanceCollectionResource
public CaseInstanceCollectionResource()
-
-
Method Details
-
getCaseInstances
@GetMapping(value="/cmmn-runtime/case-instances", produces="application/json") public DataResponse<CaseInstanceResponse> getCaseInstances(@RequestParam Map<String, String> allRequestParams) -
createCaseInstance
@PostMapping(value="/cmmn-runtime/case-instances", produces="application/json") @ResponseStatus(CREATED) public CaseInstanceResponse createCaseInstance(@RequestBody CaseInstanceCreateRequest request) -
bulkDeleteCaseInstances
@PostMapping("/cmmn-runtime/case-instances/delete") @ResponseStatus(NO_CONTENT) public void bulkDeleteCaseInstances(@RequestBody BulkDeleteInstancesRestActionRequest request)
-