Java Code Examples for org.flowable.engine.delegate.DelegateExecution#removeVariable()
The following examples show how to use
org.flowable.engine.delegate.DelegateExecution#removeVariable() .
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: VariableEventsExecutionListener.java From flowable-engine with Apache License 2.0 | 5 votes |
@Override public void notify(DelegateExecution execution) { // Create, update and remove variable execution.setVariable("variable", 123); execution.setVariable("variable", 456); execution.removeVariable("variable"); }
Example 2
Source File: VariableEventsExecutionListener.java From flowable-engine with Apache License 2.0 | 5 votes |
@Override public void notify(DelegateExecution execution) { // Create, update and remove variable execution.setVariable("variable", 123); execution.setVariable("variable", 456); execution.removeVariable("variable"); }
Example 3
Source File: Delete.java From syncope with Apache License 2.0 | 5 votes |
@Override protected void doExecute(final DelegateExecution execution) { User user = execution.getVariable(FlowableRuntimeUtils.USER, User.class); // Do something with user... if (user != null) { user.checkToken(""); } // remove user variable execution.removeVariable(FlowableRuntimeUtils.USER); }
Example 4
Source File: VariablesTest.java From flowable-engine with Apache License 2.0 | 4 votes |
public void execute(DelegateExecution execution) { execution.removeVariable("testVar3"); }
Example 5
Source File: VariablesTest.java From flowable-engine with Apache License 2.0 | 4 votes |
@Override public void execute(DelegateExecution execution) { execution.removeVariable("testVar3"); }