Class ProcessInstancesResource
java.lang.Object
com.flowable.platform.rest.service.api.process.ProcessInstancesResource
@RestController
public class ProcessInstancesResource
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.IntegerdefaultListResponseSizeprotected com.flowable.license.LicenseCheckServicelicenseCheckServiceprotected PlatformEngineConfigurationplatformEngineConfigurationprotected PlatformProcessInstanceServiceprocessInstanceServiceprotected WorkIndexServiceworkIndexService -
Constructor Summary
Constructors Constructor Description ProcessInstancesResource() -
Method Summary
Modifier and Type Method Description org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>>queryCustomProcessInstancesWithAliasQuery(java.lang.String alias, ProcessInstancesIndexQueryRequest request)org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>>queryCustomProcessInstancesWithQuery(java.lang.String queryName, java.util.Map<java.lang.String,java.lang.Object> params)org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>>queryProcessInstances(java.lang.String filterId, ProcessInstancesIndexQueryRequest request, java.security.Principal principal)org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>>queryProcessInstancesWithQuery(ProcessInstancesIndexQueryRequest request)org.springframework.http.ResponseEntity<ProcessInstanceRepresentation>startNewProcessInstance(CreateProcessInstanceRepresentation startRequest, boolean includeTranslations, boolean createTestDefinition)
-
Field Details
-
platformEngineConfiguration
-
processInstanceService
-
workIndexService
-
licenseCheckService
@Autowired protected com.flowable.license.LicenseCheckService licenseCheckService -
defaultListResponseSize
@Value("${flowable.platform.rest.default-list-response-size:100}") protected java.lang.Integer defaultListResponseSize
-
-
Constructor Details
-
ProcessInstancesResource
public ProcessInstancesResource()
-
-
Method Details
-
startNewProcessInstance
@PostMapping("/process-instances") public org.springframework.http.ResponseEntity<ProcessInstanceRepresentation> startNewProcessInstance(@RequestBody CreateProcessInstanceRepresentation startRequest, @RequestParam(required=false,defaultValue="false") boolean includeTranslations, @RequestParam(required=false,defaultValue="false") boolean createTestDefinition) -
queryProcessInstances
@GetMapping("/search/process-instances") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>> queryProcessInstances(@RequestParam(name="filterId",defaultValue="all") java.lang.String filterId, @ModelAttribute ProcessInstancesIndexQueryRequest request, java.security.Principal principal) -
queryProcessInstancesWithQuery
@GetMapping("/search/query-process-instances") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>> queryProcessInstancesWithQuery(@ModelAttribute ProcessInstancesIndexQueryRequest request) -
queryCustomProcessInstancesWithAliasQuery
@GetMapping("/search/query-process-instances/alias/{alias}") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>> queryCustomProcessInstancesWithAliasQuery(@PathVariable java.lang.String alias, @ModelAttribute ProcessInstancesIndexQueryRequest request) -
queryCustomProcessInstancesWithQuery
@GetMapping("/search/query-process-instances/query/{queryName}") public org.springframework.http.ResponseEntity<org.flowable.common.rest.api.DataResponse<ProcessInstanceSearchRepresentation>> queryCustomProcessInstancesWithQuery(@PathVariable java.lang.String queryName, @RequestParam java.util.Map<java.lang.String,java.lang.Object> params)
-