Class ExecutionVariableCollectionResource
java.lang.Object
org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
org.flowable.rest.service.api.runtime.process.BaseVariableCollectionResource
org.flowable.rest.service.api.runtime.process.ExecutionVariableCollectionResource
- All Implemented Interfaces:
InitializingBean
@RestController
public class ExecutionVariableCollectionResource
extends BaseVariableCollectionResource
- Author:
- Frederik Heremans
-
Field Summary
Fields inherited from class org.flowable.rest.service.api.runtime.process.BaseVariableCollectionResource
objectMapper
Fields inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
env, isSerializableVariableAllowed, restApiInterceptor, restResponseFactory, runtimeService, variableType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExecutionVariable
(String executionId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) createOrUpdateExecutionVariable
(String executionId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
deleteLocalVariables
(String executionId) getVariables
(String executionId, String scope) Methods inherited from class org.flowable.rest.service.api.runtime.process.BaseVariableCollectionResource
addGlobalVariables, addLocalVariables, createExecutionVariable, deleteAllLocalVariables, processVariables
Methods inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
afterPropertiesSet, allowProcessInstanceUrl, constructRestVariable, getExecutionFromRequestWithoutAccessCheck, getExecutionIdParameter, getVariableDataByteArray, getVariableFromRequest, getVariableFromRequestWithoutAccessCheck, hasVariableOnScope, setBinaryVariable, setSimpleVariable, setVariable
-
Constructor Details
-
ExecutionVariableCollectionResource
public ExecutionVariableCollectionResource()
-
-
Method Details
-
getVariables
@GetMapping(value="/runtime/executions/{executionId}/variables", produces="application/json") public List<RestVariable> getVariables(@PathVariable String executionId, @RequestParam(value="scope",required=false) String scope) -
createOrUpdateExecutionVariable
@PutMapping(value="/runtime/executions/{executionId}/variables", produces="application/json", consumes={"application/json","multipart/form-data"}) public Object createOrUpdateExecutionVariable(@PathVariable String executionId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
createExecutionVariable
@PostMapping(value="/runtime/executions/{executionId}/variables", produces="application/json", consumes={"application/json","multipart/form-data"}) public Object createExecutionVariable(@PathVariable String executionId, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
deleteLocalVariables
@DeleteMapping("/runtime/executions/{executionId}/variables") @ResponseStatus(NO_CONTENT) public void deleteLocalVariables(@PathVariable String executionId)
-