cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Global Parameter by acitiviti diagrams

yhxjldx
Champ in-the-making
Champ in-the-making
How to set Global Parameter by activiti diagram. the Globle Parameter can be got by every atom(eg:script task;service task ) in process. How can i achieve this goal.
1 REPLY 1

steve1
Champ on-the-rise
Champ on-the-rise
One way is to set process variable when starting process instance.

This variable can be referenced in the tasks you want.

Map<String, Object> variableMap = new HashMap<String, Object>();
variableMap.put("initiator", "Activiti");
ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("TestExtension", variableMap);
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.