/* * */ package com.fp.bpmlib.transaction.flow; import com.fp.bpmlib.BPMException; import com.fp.dto.save.SaveRequest; // TODO: Auto-generated Javadoc /** * Class StartFlowEnd encargada de. * * @author gfiallos */ public class StartFlowEnd extends StartFlow { /** serialVersionUID. */ private static final long serialVersionUID = 1L; /** * Normal process. * * @param pRequest the request * @return save request * @throws Exception la exception */ @Override public SaveRequest normalProcess(SaveRequest pRequest) throws Exception { SaveRequest sr = super.normalProcess(pRequest); if (!this.completed) { throw new BPMException("BPM-0006", "SE HA INICIADO UN FLUJO DE AUTORIZACION"); } return sr; } }