package com.patzn.lims.workflow.delegates;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

/**
 * <p>
 * 工作流发送拒绝邮件
 * </p>
 *
 * @author hubin
 * @since 2017-08-19
 */
public class SendRejectionMail implements JavaDelegate {

    @Override
    public void execute(DelegateExecution delegateExecution) {
        System.out.println("mail Calling the external system for chemical "
                + delegateExecution.getVariable("chemical"));
    }
}
