snaker-core/src/main/java/org/snaker/engine/core/ProcessService.java
public void undeploy(String id) {
		Process entity = access().getProcess(id);
		entity.setState(STATE_FINISH);
		access().updateProcess(entity);
		cache(entity);
	}
public void undeploy(String id) {
		Process entity = access().getProcess(id);
		entity.setState(STATE_FINISH);
		access().updateProcess(entity);
		cache(entity);
	}
根据processId卸载流程