/*
 * 
 */
package com.fp.bpmlib.transaction.flow;

import com.fp.dto.save.SaveRequest;

// TODO: Auto-generated Javadoc
/**
 * Class StartFlowEndNewOnly encargada de.
 * 
 * @author gfiallos
 */
public class StartFlowEndNewOnly extends StartFlowEnd {

    /** 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 {
        if (!this.isNew(pRequest)) {
            return pRequest;
        }
        return super.normalProcess(pRequest);

    }

}
