package cn.axzo.workflow.common.constant;

/**
 * 暴露给业务变量名
 *
 * @author wangli
 * @since 2024/2/6 16:30
 */
public interface VariableConstants {

    //===============          消息推送时的变量集合中 key 的命名          =================
    String VAR_INITIATOR_USER_NAME = "initiatorUserName";
    String VAR_PROCESS_INSTANCE_NAME = "processInstanceName";
    String VAR_PROCESS_INSTANCE_ID = "processInstanceId";
    String VAR_BUSINESS_KEY = "businessKey";
    String VAR_PROCESS_START_TIME = "processStartTime";
    String VAR_PROCESS_END_TIME = "processEndTime";
    String VAR_PROCESS_TENANT_ID = "tenantId";
    String VAR_BUSINESS_NAME = "businessName";
    String VAR_TASK_ID = "taskId";
    String VAR_TASK_START_TIME = "taskStartTime";
    String VAR_TASK_USER_NAME = "taskUserName";
    String VAR_ACTIVITY_ID = "activityId";
    String VAR_ACTIVITY_NAME = "activityName";
    String VAR_PROCESS_RESULT = "processResult";
    String VAR_OPERATOR_TYPE = "operatorType";
}
