public boolean notify(WorkflowExecutionMessage messageType, WorkflowInterpreterConfiguration config, Object data) {
switch (messageType) {
case NODE_STATE_CHANGED:
break;
case EXECUTION_STATE_CHANGED:
WorkflowExecutionState state = (WorkflowExecutionState) data;
config.getWorkflow().setExecutionState(state);
// if (state == WorkflowExecutionState.PAUSED
// || state == WorkflowExecutionState.STOPPED) {
// config.getWorkflow().setExecutionState(WorkflowExecutionState.STOPPED);
// }else if (state == WorkflowExecutionState.RUNNING) {