 
					
				
		
08-31-2016 06:07 AM
08-31-2016 09:05 AM
org.activiti.engine.test.api.task.TaskVariablesTest#testTaskExecutionVariables in activiti source.09-01-2016 06:27 AM
does Parallel Gateway and Inclusive Gateway start child processesThey start executions, not processes. Executions will share global process variables, but will have separate local process variables.
If I set local process variable then It will not be visible on Parent process.It depends… Sub-process and call activity both create subprocesses, but sub-process (in the same process diagram) generally has access to process variables, while sub-process in call activity does not.
 
					
				
		
09-02-2016 05:11 AM
They start executions, not processes. Executions will share global process variables, but will have separate local process variables
09-02-2016 06:30 AM
10:07:34 INFO  [ActivityEventListener:125] >>> START: Test 1 Process(testProcess1) VARS: {}
5scripttask1Script Task 1
8scripttask2Script Task 2
8scripttask4Script Task 4
13scripttask3Script Task 3
8scripttask5Script Task 5
10:07:34 INFO  [ActivityEventListener:98] <<< END: Test 1 Process(testProcess1) VARS: {}
        execution.setVariable("scriptTask2_proc_var", "sct2");
        execution.setVariableLocal("scriptTask2_local_var", "sct2l");</script>
        java.lang.System.out.println("scriptTask2_proc_var="+execution.getVariable("scriptTask2_proc_var"));
        java.lang.System.out.println("scriptTask2_local_var="+execution.getVariableLocal("scriptTask2_local_var"));</script>
 
					
				
		
09-06-2016 08:49 AM
09-09-2016 04:49 AM
 
					
				
				
			
		
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.