Java Code Examples for org.activiti.engine.delegate.DelegateExecution#createVariableLocal()
The following examples show how to use
org.activiti.engine.delegate.DelegateExecution#createVariableLocal() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WoDispatcher.java From oneops with Apache License 2.0 | 5 votes |
private void setOrCreateLocalVar(DelegateExecution exec, String name, Object value) { if (exec.getVariableNamesLocal().contains(name)) { exec.setVariableLocal(name, value); } else { exec.createVariableLocal(name, value); } }
Example 2
Source File: CMSClient.java From oneops with Apache License 2.0 | 5 votes |
private void setOrCreateLocalVar(DelegateExecution exec, String name, Object value) { if (exec.getVariableNamesLocal().contains(name)) { exec.setVariableLocal(name, value); } else { exec.createVariableLocal(name, value); } }