tachybase_todo/packages/plugins/workflow/src/server/constants.ts
Junyi c470209ecd
refactor(plugin-workflow): split transaction for collection trigger (#1080)
* refactor(plugin-workflow): split transaction for collection trigger

* fix(plugin-workflow): fix delay test case

* refactor(plugin-workflow): use micro queue to dispatch executions

* fix(plugin-workflow): fix usages of private api

* fix(plugin-workflow): fix wrong variable
2022-11-14 20:05:01 +08:00

21 lines
285 B
TypeScript

export const EXECUTION_STATUS = {
CREATED: null,
STARTED: 0,
RESOLVED: 1,
REJECTED: -1,
CANCELED: -2
};
export const JOB_STATUS = {
PENDING: 0,
RESOLVED: 1,
REJECTED: -1,
CANCELED: -2
};
export const BRANCH_INDEX = {
DEFAULT: null,
ON_TRUE: 1,
ON_FALSE: 0
};