tachybase_todo/packages/plugins/@nocobase/plugin-workflow/src/server/constants.ts

29 lines
413 B
TypeScript

export const EXECUTION_STATUS = {
QUEUEING: null,
STARTED: 0,
RESOLVED: 1,
FAILED: -1,
ERROR: -2,
ABORTED: -3,
CANCELED: -4,
REJECTED: -5,
RETRY_NEEDED: -6,
};
export const JOB_STATUS = {
PENDING: 0,
RESOLVED: 1,
FAILED: -1,
ERROR: -2,
ABORTED: -3,
CANCELED: -4,
REJECTED: -5,
RETRY_NEEDED: -6,
};
export const BRANCH_INDEX = {
DEFAULT: null,
ON_TRUE: 1,
ON_FALSE: 0,
};