package org.dromara.workflow.common.constant; /** * 工作流常量 * * @author may */ public interface FlowConstant { String MESSAGE_CURRENT_TASK_IS_NULL = "当前任务不存在或你不是任务办理人!"; String MESSAGE_SUSPENDED = "当前任务已挂起不可审批!"; /** * 连线 */ String SEQUENCE_FLOW = "sequenceFlow"; /** * 并行网关 */ String PARALLEL_GATEWAY = "parallelGateway"; /** * 排它网关 */ String EXCLUSIVE_GATEWAY = "exclusiveGateway"; /** * 包含网关 */ String INCLUSIVE_GATEWAY = "inclusiveGateway"; /** * 结束节点 */ String END_EVENT = "endEvent"; /** * 流程委派标识 */ String PENDING = "PENDING"; /** * 候选人标识 */ String CANDIDATE = "candidate"; /** * 会签任务总数 */ String NUMBER_OF_INSTANCES = "nrOfInstances"; /** * 正在执行的会签总数 */ String NUMBER_OF_ACTIVE_INSTANCES = "nrOfActiveInstances"; /** * 已完成的会签任务总数 */ String NUMBER_OF_COMPLETED_INSTANCES = "nrOfCompletedInstances"; /** * 循环的索引值,可以使用elementIndexVariable属性修改loopCounter的变量名 */ String LOOP_COUNTER = "loopCounter"; String ZIP = "ZIP"; /** * 流程实例对象 */ String PROCESS_INSTANCE_VO = "processInstanceVo"; /** * 流程发起人 */ String INITIATOR = "initiator"; /** * 开启跳过表达式变量 */ String FLOWABLE_SKIP_EXPRESSION_ENABLED = "_FLOWABLE_SKIP_EXPRESSION_ENABLED"; /** * 模型标识key命名规范正则表达式 */ String MODEL_KEY_PATTERN = "^[a-zA-Z][a-zA-Z0-9_]{0,254}$"; }