Complex Process-Variables, Task-Forms and a bunch of questions :)

599 views
Skip to first unread message

clemens...@gmail.com

unread,
Aug 24, 2013, 3:38:43 PM8/24/13
to camunda-...@googlegroups.com
Hey camunda Team,

first of all, thank you very much for the camunda bpm plattform, it rocks! ;D

Let me introduce myself, i'am a bachelor student, currently working on my bachelorthesis. As for the practical part, i'm using your plattform and modeller for this.

So, after reading many docs (too many) from activity, camunda bpm and camunda fox, i'm a bit confused, what all is possible with process-variables:

How can i define process-variables which hold java beans? Can i acess all properties of the beans?

How are process-variables used in Task-Forms? Is it possible, to declare for example <input form-field type="string" name="bean.foo">.

Also, i have noticed, that the placeholder attribute on those elements does not work. I would like to define a default value on the bean-property for this case.

Also, i read, that process-variables could also be xml-documents. Does that mean, that you can access all nodes without specially parsing, or is the document just saved as plain old string?

Hope, there's is someone out there, who can answer those questions. As i progress further with camunda bpm, there will be more questions to follow :)

As a note, i'm living in berlin, as you are a berlin company, do you have something like community roundtables to talk about the plattform?


Daniel Meyer

unread,
Aug 26, 2013, 9:04:24 AM8/26/13
to clemens...@gmail.com, camunda-...@googlegroups.com

Hi Clemens,

 

thanks for your intereset in camunda BPM!

 

How can i define process-variables which hold java beans? Can i acess all properties of the beans?

You can add serializable Java Object as process variables to your process instances. In this case you need to make sure that the Java Object implements the java Serializable interface.

In  that case you can access the bean properties of these Variables using Expression language form something like an condition expression on a sequence flow running our of an exclusive Gateway.

 

How are process-variables used in Task-Forms? Is it possible, to declare for example <input form-field type="string" name="bean.foo">.

This is currently not possible. We are thinking about supporting complex objects in camunda 7.1

 

Also, i have noticed, that the placeholder attribute on those elements does not work. I would like to define a default value on the bean-property for this case.

Correct. This feature is also missing.

 

Also, i read, that process-variables could also be xml-documents. Does that mean, that you can access all nodes without specially parsing, or is the document just saved as plain old string?  

No. You can add XML documents as String or Blob (byte) variables but you cannot access their content from expression language. You need to write Java Service Tasks which extract the necessary properties into process variables or write a wrapper bean which parses the XML and provides individual methods which can then be called using Expression Language.

 

As a note, i'm living in berlin, as you are a berlin company, do you have something like community roundtables to talk about the plattform?

Currently we have these (free) meetings scheduled:

http://www.camunda.org/community/meetings.html

You could also come to the fee community event in Prague:

http://www.camunda.org/community/meetings/register.html?id=10

 

In addition: If you are interested in helping out, we are always looking for interns or “Werkstudenten” (and also full time devs & consultants) . Just contact us, even if there is no explicit job offer listed on the website and visit us in our Kreuzberg offices.

 

Cheers,

Daniel Meyer

 

 

-----Ursprüngliche Nachricht-----
Von: camunda-...@googlegroups.com [mailto:camunda-...@googlegroups.com] Im Auftrag von clemens...@gmail.com
Gesendet: Samstag, 24. August 2013 21:39
An: camunda-...@googlegroups.com
Betreff: Complex Process-Variables, Task-Forms and a bunch of questions :)

--

You received this message because you are subscribed to the Google Groups "camunda BPM users & process application developers" 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.

Bernd Rücker (camunda)

unread,
Aug 26, 2013, 9:22:10 AM8/26/13
to Daniel Meyer, clemens...@gmail.com, camunda-...@googlegroups.com

Hi Clemens.

 

Please note that storing objects as byte array is not considered best practice - if you want you can join our Webinar on that topic later today: http://www.camunda.org/community/meetings/register.html?id=19. We try to collect together Best Practices (temporary while collecting in a wiki: https://app.camunda.com/confluence/display/BestPractices/Data+in+Processes) - and we are happy for volunteers in that area ;-)

 

Cheers

Bernd

Bernd Rücker (camunda)

unread,
Aug 26, 2013, 10:05:26 AM8/26/13
to clemens...@gmail.com, camunda-...@googlegroups.com

In case you want to join in the last minute I post the WebEx Link you need here: https://meetings.webex.com/collabs/#/meetings/detail?uuid=M87X73475NRRM1SXNXTP1M3ZYD-2YR3

Reply all
Reply to author
Forward
0 new messages