cancel
Showing results for 
Search instead for 
Did you mean: 

Creating process variables in the GUI

blezek
Champ on-the-rise
Champ on-the-rise
Hi,

  Is it possible to set process variables from the GUI?  I understand that Forms can be used for user input, but we would like to set process variables directly (not through a script task, if possible).

  How can this be done?

Currently, we do this in our Java code:

         HashMap<String, Object> v = new HashMap<String, Object>();         v.put("BOKey", BOKey);         engine.getRuntimeService().startProcessInstanceByKey("SeriesRouter", v);‍‍‍‍‍

But it would be nice to set these properties through the GUI.

Thanks,
-dan
10 REPLIES 10

himani
Champ in-the-making
Champ in-the-making
Hi Joram,

Has there been some changes in new Activiti Designer, with respect to above requirement. Can we now some-how provide process variables at the start of a workflow. In Eclipse form designer there are form properties associated with start event, however when I tried using them there value was not effective.

We don't want to implement a listener etc. because this information will be provided by business users.

Thanks
Himani