Class ExecutionVariableResource
java.lang.Object
org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
org.flowable.rest.service.api.runtime.process.ExecutionVariableResource
- All Implemented Interfaces:
InitializingBean
- Author:
- Frederik Heremans
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.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 TypeMethodDescriptionvoid
deleteVariable
(String executionId, String variableName, String scope) getVariable
(String executionId, String variableName, String scope) updateVariable
(String executionId, String variableName, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
afterPropertiesSet, allowProcessInstanceUrl, constructRestVariable, getExecutionFromRequestWithoutAccessCheck, getExecutionIdParameter, getVariableDataByteArray, getVariableFromRequest, getVariableFromRequestWithoutAccessCheck, hasVariableOnScope, setBinaryVariable, setSimpleVariable, setVariable
-
Field Details
-
objectMapper
-
-
Constructor Details
-
ExecutionVariableResource
public ExecutionVariableResource()
-
-
Method Details
-
getVariable
@GetMapping(value="/runtime/executions/{executionId}/variables/{variableName}", produces="application/json") public RestVariable getVariable(@PathVariable("executionId") String executionId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope) -
updateVariable
@PutMapping(value="/runtime/executions/{executionId}/variables/{variableName}", produces="application/json", consumes={"application/json","multipart/form-data"}) public RestVariable updateVariable(@PathVariable("executionId") String executionId, @PathVariable("variableName") String variableName, jakarta.servlet.http.HttpServletRequest request) -
deleteVariable
@DeleteMapping("/runtime/executions/{executionId}/variables/{variableName}") @ResponseStatus(NO_CONTENT) public void deleteVariable(@PathVariable("executionId") String executionId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope)
-