Hallo Everyone
I’m trying to add a custum Task but I don’t get it.can someone help me
Thanks
What did you already try to achieve what you want? Did you already check out the custom elements example?
thank you for your reply
I did the following after referring to the example
added the corresponding entries in the custom json as shown below
added the corresponding entries in replaceMenuProvider
I got the following result
When I click this option I get unexpected results
What XML do you expect? The way your extension is defined you can do
<bpmn:userTask>
<bpmn:extensionElements>
<custom:userReportTask>
foo
</custom:userReportTask>
</bpmn:extensionElements>
</bpmn:userTask>
You’d create a bpmn:UserTask
with a custom:UserReportTask
extension element. The element would still look like a normal user task unless you create a custom renderer that renders the element differently when it has your extension element.