package cn.fateverse.workflow.constant;

/**
 * 引擎场景
 *
 * @author Clay
 * @date 2022/12/23
 */
public class ProcessConstant {
    /**
     * root 节点id
     */
    public static final String ROOT_NODE = "root";
    /**
     * 表单数据
     */
    public static final String FORM_VAR = "formData";
    /**
     * 流程状态
     */
    public static final String PROCESS_STATUS = "processStatus";
    /**
     * 发起人
     */
    public static final String START_USER_INFO = "startUser";
    /**
     * 自选用户
     */
    public static final String OPTIONAL_USER = "optionalUser";
    /**
     * 审批人
     */
    public static final String ASSIGNEE_NAME = "assigneeName";
    /**
     * 用户任务类型
     */
    public static final String USER_TASK = "userTask";
    /**
     * 发起人id
     */
    public static final String START_USER_ID = "startUserId";
    /**
     * 流程执行过程中需要使用到的工具类
     */
    public static final String PROCESS_UTIL_CLASS = "processUtil.";
    /**
     * gateway结束名称
     */
    public static final String GATEWAY_END = "gatewayEnd";
    /**
     * 正在处理
     */
    public static final String BUSINESS_STATUS_DEAL = "1";
    /**
     * 撤销
     */
    public static final String BUSINESS_STATUS_REVOCATION = "2";
    /**
     * 驳回
     */
    public static final String BUSINESS_STATUS_REJECT = "3";
    /**
     * 已结束
     */
    public static final String BUSINESS_STATUS_ENDED = "4";
    /**
     * 审批意见
     */
    public static final String COMMENT_OPINION = "opinion";
    /**
     * 评论
     */
    public static final String COMMENT_COMMENT = "comment";
    /**
     * 签名
     */
    public static final String COMMENT_SIGN = "sign";
    /**
     * 拒绝
     */
    public static final String COMMENT_REFUSE = "refuse";
    /**
     * 流程运行状态
     */
    public static final String PROCESS_RUNNING = "running";
    /**
     * 流程同意
     */
    public static final String PROCESS_AGREE = "agree";
    /**
     * 通过
     */
    public static final String PROCESS_PASS = "pass";
    /**
     * 未激活
     */
    public static final String PROCESS_UNACTIVATED = "unactivated";
    /**
     * 创建
     */
    public static final String PROCESS_CREATE = "create";
    /**
     * 审批人列表
     */
    public static final String ASSIGNEE_LIST = "assigneeList";
    /**
     * bpmn流程表单数据
     */
    public static final String BPMN_FORM_ITEMS = "formItems";
    /**
     * bpmn流程json数据
     */
    public static final String BPMN_FORM_PROCESS = "process";
}
