07-05-2018 09:25 PM
Hello, everyone i see in the doc that Activiti6 support DMN engine, and i can test the DMN rule.
But i do not know how to use the DMN with businessruletask, i can not deploy a dmn task.
And i search in the internet, only find blogs about how to use Activiti-app to create a DMN task, so i want to know how can i program it by myself?
07-11-2018 08:18 AM
DMN tables don't run with Business Rule tasks they run with Decision tasks. If you have the DMN file and would like to add it to you process definition you can add like this (or you can use the UI to import your DMN and link it to process model)
<serviceTask id="mydecisiontask" name="Decision task" activiti:type="dmn">
<extensionElements>
<activiti:field name="decisionTableReferenceKey">
<activiti:string><![CDATA[myDMN]]></activiti:string>
</activiti:field>
</extensionElements>
</serviceTask>
Explore our Alfresco products with the links below. Use labels to filter content by product module.