The code shipped uses a Business Rule Task to determine the approver. The only code related to the Invoice example that I can find uses a User Task.
This is important to me because there is no clear (not fragments of detail found in multiple locations) explanation of how to use the DMN integration, so I realize I'll have to figure it out myself.
Having a single, unified example that shows the following would be helpful:
- Simple DMN table structure
- Input of variables into the DMN engine without the use of HTML forms
- Output of the result from the DMN engine
I don't understand how this all bolts together. The Insurance application doesn't work because it throws the following error:
DMN-01002 Unable to evaluate expression for language 'juel': '${application.applicant.age}'
I realize you are still working on DMN integration, but this is critical to my project and I'm hoping I don't need to go to an external DMN engine (e.g., OpenL Tablets), but if you don't think the DMN integration is really ready, I'll go that route.
Thank you.
Sadly, I’ve already grabbed that code and it does not contain a Business Rule task. The approveInvoice task is a userTask. I also have the DMN file as I was able to download it from the Camunda server via the DMN tooling there. Also, while having the example would be helpful, my use case involves no human interaction, so the forms piece just muddles this for me a bit.
The DMN integration at the server level seems to be very good and easy to use. They’ve done a good job on this initial implementation.
I realize that I’m asking to be “spoon fed” an example. However, if Camunda want their product to gain wider use, they need to do a better job with noobs like me. I just wish I could figure out how to use it without all the tedious detective work.
Thank you for trying to help me, however.
Michael Peoples (mp4783)
AT&T Network Operations
Network Operations Centers Planning
Office: +1 614-886-0923
Mobile: +1 614-886-0923
Principal Applications Developer
--
You received this message because you are subscribed to a topic in the Google Groups "camunda BPM users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/camunda-bpm-users/767GcVv0lCA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
camunda-bpm-us...@googlegroups.com.
To post to this group, send email to
camunda-...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/camunda-bpm-users/59c6c149-3e1e-4b64-9ab6-8de6502a0db6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Please note that https://github.com/camunda/camunda-consulting/tree/master/showcases/en/invoice/ is a different showcase used within our BPMN trainings for demos WITHOUT DMN. The Link gave you is correct.
--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
camunda-bpm-us...@googlegroups.com.
There is an example available not using any BPMN but just the pure DMN engine in a stateless manner: https://github.com/camunda/camunda-bpm-examples/tree/master/dmn-engine/dmn-engine-java-main-method. Maybe that is interesting as well?
Von: camunda-...@googlegroups.com [mailto:camunda-...@googlegroups.com] Im Auftrag von webcyberrob
Gesendet: Mittwoch, 25. November 2015 02:52
An: camunda BPM users <camunda-...@googlegroups.com>
Cc: mp4...@att.com
--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to
camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/9e4dd6c0-9b26-49a8-aef6-840ba0de2037%40googlegroups.com.
I’m sort of starting to get this, although there is no exact example that shows what I want to do. Both the Invoice and Insurance examples use methods that don’t seem to exactly fit.
Invoice uses an HTML form for input. The output of the DMN table is mapped to a preconfigured attribute (Candidate Groups) of the “Approve Invoice” user task. In my case, the next task is a service task that doesn’t have such an attribute, so I’ll assume that result will just be “generally” available within the process itself. What is interesting here is the use of the mapDecisionResult attribute, whose use I don’t understand. It appears to be used with “cam” variables set within the HTML document.
Insurance application uses an external MapDmnResult class in the executionListener attribute. I think I understand what that is doing in that it is providing a method to handle DMN results from two different types of outputs (DMN output and the result variable of the business tasks).
What I’m trying to do is very simple. I will present the DMN table with a set of inputs which will result in either null or a single result output. I want to then use that output further along in my process. I am, at present, assuming that all I need to do is set the “Result Variable” attribute and then I can use that to represent the result output by the DMN table. If this is incorrect, then let me know.
Again, I appreciate your response at a time when you are trying to get this major enhancement to Camunda out the door.
Michael Peoples (mp4783)
AT&T Network Operations
Network Operations Centers Planning
Office: +1 614-886-0923
Mobile: +1 614-886-0923
Principal Applications Developer