Skip to content

bpmn-server / INotification

Interface: INotification#

One notification, as kept in wf_notifications and given to appDelegate.notify.

Table of contents#

Properties#

Properties#

id#

• id: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:29


createdAt#

• createdAt: Date

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:30


instanceId#

• instanceId: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:31


instanceName#

• instanceName: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:32


itemId#

• Optional itemId: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:33


elementId#

• Optional elementId: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:34


event#

• event: "ended" | "assigned" | "completed"

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:35


policy#

• policy: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:36


rule#

• rule: number

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:37


to#

• to: string[]

whom, as the rule said: user names and groups

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:39


template#

• Optional template: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:40


subject#

• subject: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:41


message#

• message: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:42


channel#

• Optional channel: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:43


status#

• status: "failed" | "recorded" | "sent"

recorded: kept, not delivered; sent: the application's notify took it; failed: it threw, or the rule did

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:45


error#

• Optional error: string

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:46


test#

• test: boolean

a test run's

Defined in#

packages/bpmn-server/src/addons/notification/NotificationPolicy.ts:48

Comments