code: private boolean processShouldStop(WorkflowContext workflowContext, Activity activity) {
  		if (workflowContext != null && workflowContext.stopProcess()) {
  			return true;
  		}
  		return false;
  	}
docs: Determine if the process should stop
  
  @param workflowContext
  the current process context
  @param activity
  the current activity in the iteration