コード例 #1
0
        public async Task <IActionResult> OnGetLoadBpmnAsync(string processDefinitionId)
        {
            var bpmnModelXml = await tasksService.GetProcessModelXml(processDefinitionId);

            if (string.IsNullOrEmpty(bpmnModelXml))
            {
                return(NotFound());
            }
            return(Content(bpmnModelXml));
        }