houzhongjian
2024-12-03 874287a4c02d0a980d8b97c4a691b4f37ec5e812
提交 | 用户 | 时间
e7c126 1 package com.iailab.module.bpm.framework.flowable.core.enums;
H 2
3 import org.flowable.engine.runtime.ProcessInstance;
4
5 /**
6  * BPM 通用常量
7  *
8  * @author iailab
9  */
10 public class BpmConstants {
11
12     /**
13      * 流程实例的变量 - 状态
14      *
15      * @see ProcessInstance#getProcessVariables()
16      */
17     public static final String PROCESS_INSTANCE_VARIABLE_STATUS = "PROCESS_STATUS";
18     /**
19      * 流程实例的变量 - 发起用户选择的审批人 Map
20      *
21      * @see ProcessInstance#getProcessVariables()
22      */
23     public static final String PROCESS_INSTANCE_VARIABLE_START_USER_SELECT_ASSIGNEES = "PROCESS_START_USER_SELECT_ASSIGNEES";
24
25     /**
26      * 任务的变量 - 状态
27      *
28      * @see org.flowable.task.api.Task#getTaskLocalVariables()
29      */
30     public static final String TASK_VARIABLE_STATUS = "TASK_STATUS";
31     /**
32      * 任务的变量 - 理由
33      *
34      * 例如说:审批通过、不通过的理由
35      *
36      * @see org.flowable.task.api.Task#getTaskLocalVariables()
37      */
38     public static final String TASK_VARIABLE_REASON = "TASK_REASON";
39
40 }