Class ProcessEngineMvcEndpoint


  • @EndpointWebExtension(endpoint=ProcessEngineEndpoint.class)
    public class ProcessEngineMvcEndpoint
    extends Object
    Renders a valid running BPMN process definition as a BPMN diagram. This is duplicated functionality in the full REST API implementation.
    Author:
    Joram Barrez, Josh Long
    • Constructor Detail

      • ProcessEngineMvcEndpoint

        public ProcessEngineMvcEndpoint​(RepositoryService repositoryService)
    • Method Detail

      • processDefinitionDiagram

        @GetMapping(value="/processes/{processDefinitionKey:.*}",
                    produces="image/jpeg")
        @ResponseBody
        public org.springframework.http.ResponseEntity processDefinitionDiagram​(@PathVariable
                                                                                String processDefinitionKey)
        Look up the process definition by key. For example, this is process-diagram for a process definition named fulfillmentProcess.