package com.codvision.workflow.constant;

/**
 * 流程常量
 * @author hxl
 */
@SuppressWarnings("all")
public class WorkFlowConstant {

    // 扩展字段flowable:button 按钮
    public static final String EXTENSION_ELEMENT_BUTTON = "button";
    // 扩展字段flowable:button name 按钮名称
    public static final String EXTENSION_ELEMENT_BUTTON_NAME = "name";
    // 扩展字段flowable:button code 按钮编码
    public static final String EXTENSION_ELEMENT_BUTTON_CODE = "code";
    // 扩展字段flowable:button sort 按钮排序字段
    public static final String EXTENSION_ELEMENT_BUTTON_SORT = "sort";
    // 扩展字段 流程状态
    public static final String EXTENSION_ELEMENT_WORK_FLOW_STATUS = "status";
    // 扩展字段 流程状态值
    public static final String EXTENSION_ELEMENT_WORK_FLOW_STATUS_CODE = "code";
    // 扩展字段 流程超期
    public static final String EXTENSION_ELEMENT_TIMIT_OUT = "timeout";
    // 扩展字段 流程超期截止时间（单位分钟）
    public static final String EXTENSION_ELEMENT_TIMIT = "time";
    // 扩展字段 退回
    public static final String EXTENSION_ELEMENT_TASK_RETURN = "return";
    // 扩展字段 退回 目标节点Key
    public static final String EXTENSION_ELEMENT_TASK_RETURN_TARGET_KEY = "targetKey";
    // 工作流定时任务Job Group
    public static final String WORK_FLOW_JOB_GROUP = "WORK:FLOW:JOB:GROUP";
    // 全局超期
    public static final String WORK_FLOW_TIME_OUT_INSTANCE_ID = "WORK:FLOW:TIME:OUT:INSTANCE:ID:";
    // 任务签收超期
    public static final String WORK_FLOW_TIME_OUT_CLAIM_TASK_ID = "WORK_FLOW_TIME_OUT_CLAIM_TASK_ID:";
    // 任务完成超期
    public static final String WORK_FLOW_TIME_OUT_COMPLETE_TASK_ID = "WORK_FLOW_TIME_OUT_COMPLETE_TASK_ID:";
    // 工作流延期审核人员配置
    public static final String WORK_FLOW_DELAY_REVIEWER_CONFIG_USER = "WORK_FLOW_DELAY_REVIEWER_CONFIG_USER";
    // 工作流延期审核组织配置
    public static final String WORK_FLOW_DELAY_REVIEWER_CONFIG_ORG = "WORK_FLOW_DELAY_REVIEWER_CONFIG_ORG";
    // 工作流延期审核角色配置
    public static final String WORK_FLOW_DELAY_REVIEWER_CONFIG_ROLE = "WORK_FLOW_DELAY_REVIEWER_CONFIG_ROLE";
    // 任务退回次数限制前缀
    public static final String TASK_RETURN_LIMIT = "TASK_RETURN_LIMIT_";
    // 任务操作次数限制前缀
    public static final String TASK_OPERATE_LIMIT = "TASK_OPERATE_LIMIT_";
    // 动态分配下一个任务节点的办理人
    public static final String TASK_DYNAMIC_HANDLER = "TASK_DYNAMIC_HANDLER";
    // 已签收标志
    public static final String CLAIM_SIGN = "CLAIM_SIGN";
    // 签收短信配置
    public static final String CLAIM_SMS_PARAMS = "CLAIM_SMS_PARAMS";
    // 当前节点所有的用户接收短信标志
    public static final String SMS_CURRENT_USERS = "SMS_CURRENT_USERS";

    // 指定当前用户任务办理人所需的角色
    public static final String TASK_ROLR = "TASK_ROLE";
    // 无办理人自动办结标志
    public static final String AUTO_COMPLETE_NO_USERS = "AUTO_COMPLETE_NO_USERS";
    // 数据隔离标志
    public static final String SUB_DATA = "SUB_DATA";
}
