Class ProcessInstanceVariableResource

java.lang.Object
org.flowable.rest.service.api.runtime.process.BaseExecutionVariableResource
org.flowable.rest.service.api.runtime.process.ProcessInstanceVariableResource
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

@RestController public class ProcessInstanceVariableResource extends BaseExecutionVariableResource
Author:
Frederik Heremans
  • Field Details

    • objectMapper

      @Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • ProcessInstanceVariableResource

      public ProcessInstanceVariableResource()
  • Method Details

    • getVariable

      @GetMapping(value="/runtime/process-instances/{processInstanceId}/variables/{variableName}", produces="application/json") public RestVariable getVariable(@PathVariable("processInstanceId") String processInstanceId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope)
    • updateVariable

      @PutMapping(value="/runtime/process-instances/{processInstanceId}/variables/{variableName}", produces="application/json", consumes={"application/json","multipart/form-data"}) public RestVariable updateVariable(@PathVariable("processInstanceId") String processInstanceId, @PathVariable("variableName") String variableName, jakarta.servlet.http.HttpServletRequest request)
    • deleteVariable

      @DeleteMapping("/runtime/process-instances/{processInstanceId}/variables/{variableName}") @ResponseStatus(NO_CONTENT) public void deleteVariable(@PathVariable("processInstanceId") String processInstanceId, @PathVariable("variableName") String variableName, @RequestParam(value="scope",required=false) String scope)
    • constructRestVariable

      protected RestVariable constructRestVariable(String variableName, Object value, RestVariable.RestVariableScope variableScope, String executionId, boolean includeBinary)
      Overrides:
      constructRestVariable in class BaseExecutionVariableResource