Set execution variable via designer (process definition)

1,768 views
Skip to first unread message

sojk...@gmail.com

unread,
Jul 31, 2013, 4:48:43 AM7/31/13
to camunda-...@googlegroups.com
Hallo,

I need to set execution variable via designer in each user task. Please what is the best solution for that? I want to use form properties (I used in Activiti), but Camunda designer for Eclipse has not UI with a form. Can you help me please?

Thank you very much.

Best regards
Jiri Sojka

Daniel Meyer

unread,
Aug 1, 2013, 5:01:17 AM8/1/13
to sojk...@gmail.com, camunda-...@googlegroups.com
Hi Jiri Sojka,

As you have noticed we currently do not support form properties in the
camunda Modeler.

What you can do is using an HTML-based form and declare the properties
there. All input fields will be converted into Process Variables:
http://stage.docs.camunda.org/guides/user-guide/#tools/tasklist/task-forms
/embedded-task-forms

Cheers,
Daniel Meyer

-----Urspr�ngliche Nachricht-----
Von: camunda-...@googlegroups.com
[mailto:camunda-...@googlegroups.com] Im Auftrag von
sojk...@gmail.com
Gesendet: Mittwoch, 31. Juli 2013 10:49
An: camunda-...@googlegroups.com
Betreff: Set execution variable via designer (process definition)
--
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.


sojk...@gmail.com

unread,
Aug 6, 2013, 6:43:31 AM8/6/13
to camunda-...@googlegroups.com, sojk...@gmail.com
Hello,

the best way for me was use

<activiti:field name="name" stringValue="Some value"/>

in ExecutinListener. It is working like Activiti but it is not documented. So it is necessary create changes directly in xml file (designer does not support this).

A Holbreich

unread,
Feb 19, 2014, 12:10:41 PM2/19/14
to camunda-...@googlegroups.com, sojk...@gmail.com
Working trick is:

${execution.setVariable("var_name", "value123")}

as expression in Listenere desired element or transition.

Best Regards,
Alexander 
Reply all
Reply to author
Forward
0 new messages