@Override public void onImplicitValueUpdate(final TypedValue updatedValue) { // note: this implementation relies on the // behavior that the variable scope // of variable value can never become null ProcessApplicationReference targetProcessApplication = getContextProcessApplication(); if (targetProcessApplication != null) { Context.executeWithinProcessApplication(new Callable<Void>() { @Override public Void call() throws Exception { getVariableScope().setVariableLocal(name, updatedValue); return null; } }, targetProcessApplication, new InvocationContext(getExecution())); } else { if (!isTransient) { getVariableScope().setVariableLocal(name, updatedValue); } } }
@Override public void onImplicitValueUpdate(final TypedValue updatedValue) { // note: this implementation relies on the // behavior that the variable scope // of variable value can never become null ProcessApplicationReference targetProcessApplication = getContextProcessApplication(); if (targetProcessApplication != null) { Context.executeWithinProcessApplication(new Callable<Void>() { @Override public Void call() throws Exception { getVariableScope().setVariableLocal(name, updatedValue); return null; } }, targetProcessApplication, new InvocationContext(getExecution())); } else { if (!isTransient) { getVariableScope().setVariableLocal(name, updatedValue); } } }
@Override public void onImplicitValueUpdate(final TypedValue updatedValue) { // note: this implementation relies on the // behavior that the variable scope // of variable value can never become null ProcessApplicationReference targetProcessApplication = getContextProcessApplication(); if (targetProcessApplication != null) { Context.executeWithinProcessApplication(new Callable<Void>() { @Override public Void call() throws Exception { getVariableScope().setVariableLocal(name, updatedValue); return null; } }, targetProcessApplication, new InvocationContext(getExecution())); } else { if (!isTransient) { getVariableScope().setVariableLocal(name, updatedValue); } } }