How to integrate Data Objects within BPMN process

365 views
Skip to first unread message

Mike

unread,
Nov 19, 2014, 10:41:11 AM11/19/14
to camunda-...@googlegroups.com
Hey Guys,

Looking at the BPMN coverage of Camunda, I noticed that data objects are
not covered yet.
So far I made myself familiar with the HashMap approach which contains
the process variables. This is working just fine after a short test.
However I was wondering, how am I able to define a data structure and
make a reference within the process.
I would like to visualize how a service task produces an "output data
structure" which is then used again as an input for another task.
As far as I know, it is possible to define object types within the
hashmap. However, the data is then completely "behind the scenes" and
thus isolated from the process - which is not what I want.

OMG provided some sample code with:

<itemDefinition id="IssueItem" isCollection="false" itemKind="Information"
structureRef="com.camunda.examples.incidentmanagement.IssueReport" />

Is there a working example based on camunda out there with some XML
Source Code using structureref&itemdefinition?
Or is there another way to define data structures?

Thanks alot,
Mike

webcyberrob

unread,
Nov 19, 2014, 4:15:46 PM11/19/14
to camunda-...@googlegroups.com, mik...@gmx.ch

mike

unread,
Nov 20, 2014, 11:33:46 AM11/20/14
to camunda-...@googlegroups.com, mik...@gmx.ch
Hey Rob,

Looking at https://app.camunda.com/confluence/display/BestPractices/Data+in+Processes
There is a suggestion to use as less data in the process as possible.
However, in bigger projects you would like to reference your preexisting domain data objects, right?

Meanwhile I found one example which shows custom-made data access patterns:

https://github.com/camunda/camunda-consulting/tree/master/patterns/data-in-processes

However, I'd like to use an approach like the one presented on the last slide of this presenation:

https://www.google.ch/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&ved=0CFIQFjAG&url=https%3A%2F%2Fapp.camunda.com%2Fconfluence%2Fdownload%2Fattachments%2F14352774%2Fdata%2520in%2520processes-webinar1.pdf%3Fversion%3D1%26modificationDate%3D1377587961000%26api%3Dv2&ei=6xNuVILvO42uPOWrgKAE&usg=AFQjCNHctvbyXFeoZmb7tMB5jg1KJud_1Q&sig2=k4FMzeDRz87hwUKKRK-AQQ&bvm=bv.80120444,bs.1,d.ZWU&cad=rja

Can someone provide an example?

Thanks
Mike

Bernd Rücker (camunda)

unread,
Nov 21, 2014, 1:13:09 AM11/21/14
to camunda-...@googlegroups.com, mik...@gmx.ch
Hi Mike.

You mean the "PocessVariableProducer"? Isn't the code example actually on
the slide itself?

Cheers
Bernd

-----Ursprüngliche Nachricht-----
Von: camunda-...@googlegroups.com
[mailto:camunda-...@googlegroups.com] Im Auftrag von mike
Gesendet: Donnerstag, 20. November 2014 17:34
An: camunda-...@googlegroups.com
Cc: mik...@gmx.ch
Betreff: [camunda-bpm-users] Re: How to integrate Data Objects within BPMN
process
--
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/a02c6907-7f23-496a-a5ff-b622f314e793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mike

unread,
Nov 21, 2014, 1:37:58 AM11/21/14
to camunda-...@googlegroups.com
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/OZ46rMp6QfA/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.

Bernd Rücker (camunda)

unread,
Nov 21, 2014, 2:24:10 AM11/21/14
to camunda-...@googlegroups.com

That’s something we do not support in camunda BPM ;-) But you can use our io maping stuff (See for exampke http://blog.camunda.org/2014/07/scripting-everywhere-in-camunda-bpm.html).

Reply all
Reply to author
Forward
0 new messages