How can I add support to a custom task?
See original GitHub issueI export some bpmn files from KIE workbench, then I found there is a bpmn2:task
tag in bpmn file which this kogito-tooling is not currently supported. I tried to build and run the project. But I cannot found a way to modify it. Are there any instructions to show how to add support to this kind of task node?
<bpmn2:task id="_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF" drools:taskName="CommonWorkItem" name="Name">
<bpmn2:extensionElements>
<drools:metaData name="elementname">
<drools:metaValue><![CDATA[Name]]></drools:metaValue>
</drools:metaData>
<drools:onEntry-script scriptFormat="http://www.java.com/java">
<drools:script><![CDATA[v.execute("some");]]></drools:script>
</drools:onEntry-script>
</bpmn2:extensionElements>
<bpmn2:incoming>_8DFEDB4E-2DB3-48D2-955F-F8DDB4DF6902</bpmn2:incoming>
<bpmn2:outgoing>_D5950703-3DF3-46FA-BBC9-ABDC197CA831</bpmn2:outgoing>
<bpmn2:ioSpecification id="_LmiULhjNEeuldeHdBwNIyA">
<bpmn2:dataInput id="_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_vInputX" drools:dtype="com.xiaomi.mifi.policy.model.ProcessVariable" itemSubjectRef="__7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_vInputXItem" name="v"/>
<bpmn2:dataInput id="_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_TaskNameInputX" drools:dtype="Object" name="TaskName"/>
<bpmn2:inputSet id="_LmiULxjNEeuldeHdBwNIyA">
<bpmn2:dataInputRefs>_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_vInputX</bpmn2:dataInputRefs>
<bpmn2:dataInputRefs>_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_TaskNameInputX</bpmn2:dataInputRefs>
</bpmn2:inputSet>
<bpmn2:outputSet id="_LmiUMBjNEeuldeHdBwNIyA"/>
</bpmn2:ioSpecification>
<bpmn2:dataInputAssociation id="_LmiUMRjNEeuldeHdBwNIyA">
<bpmn2:sourceRef>v</bpmn2:sourceRef>
<bpmn2:targetRef>_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_vInputX</bpmn2:targetRef>
</bpmn2:dataInputAssociation>
<bpmn2:dataInputAssociation id="_LmiUMhjNEeuldeHdBwNIyA">
<bpmn2:targetRef>_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_TaskNameInputX</bpmn2:targetRef>
<bpmn2:assignment id="_LmiUMxjNEeuldeHdBwNIyA">
<bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_LmiUNBjNEeuldeHdBwNIyA"><![CDATA[CommonWorkItem]]></bpmn2:from>
<bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_LmiUNRjNEeuldeHdBwNIyA">_7FB7AFF4-C7FC-4CB8-BA91-1C2643106FAF_TaskNameInputX</bpmn2:to>
</bpmn2:assignment>
</bpmn2:dataInputAssociation>
</bpmn2:task>
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How can I add support to a custom task? · Issue #310 - GitHub
I export some bpmn files from KIE workbench, then I found there is a bpmn2:task tag in bpmn file which this kogito-tooling is...
Read more >Implement Custom Tasks in Your Skill | Alexa Skills Kit
A skill provider can create a custom task that a requester skill can use. The requester skill can ... Modify your skill package...
Read more >Developing Custom Gradle Task Types
Gradle supports two types of task. One such type is the simple ... You can include the task class directly in the build...
Read more >Add a build or release task in an extension - Azure DevOps
Create task scaffolding. Create the folder structure for the task and install the required libraries and dependencies. Create a directory and ...
Read more >Creating Task Custom Fields - Teamwork Support
Go to the Tasks subsection and click the Add button to add your first custom field. If you already have custom fields created,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @einverne and @rasa-app!
Looks like both your issues are related to custom work item definition support and custom tasks.
We kind have initial support for WID, it’s just a matter of placing the wid file in the same directory of your bpmn file on VS Code.
But keep in mind the following limitations:
On your case @rasa-app , looks like your are experiencing this bug: https://issues.redhat.com/browse/KOGITO-3528
@einverne we did some improvements on this area on Kogito tooling 0.9.0. Could you please verify if it fixed your issue?