bpmn-server / Item
Class: Item#
Implements#
Table of contents#
Constructors#
Properties#
- id
- itemKey
- element
- token
- seq
- userName
- startedAt
- endedAt
- instanceId
- input
- output
- vars
- assignee
- candidateGroups
- candidateUsers
- dueDate
- followUpDate
- priority
- status
- timeDue
- timerCount
- messageId
- signalId
Accessors#
Methods#
Constructors#
constructor#
• new Item(element
, token
, status?
): Item
Parameters#
Name | Type | Default value |
---|---|---|
element |
any |
undefined |
token |
any |
undefined |
status |
ITEM_STATUS |
ITEM_STATUS.start |
Returns#
Defined in#
Properties#
id#
• id: any
Implementation of#
Defined in#
itemKey#
• itemKey: string
Implementation of#
Defined in#
element#
• element: Element
Implementation of#
Defined in#
token#
• token: Token
Implementation of#
Defined in#
seq#
• seq: any
Implementation of#
Defined in#
userName#
• userName: any
Implementation of#
Defined in#
startedAt#
• startedAt: any
Implementation of#
Defined in#
endedAt#
• endedAt: any
= null
Implementation of#
Defined in#
instanceId#
• instanceId: any
Implementation of#
Defined in#
input#
• input: Object
= {}
Defined in#
output#
• output: Object
= {}
Defined in#
vars#
• vars: Object
= {}
Implementation of#
Defined in#
assignee#
• assignee: any
Implementation of#
Defined in#
candidateGroups#
• candidateGroups: any
Implementation of#
Defined in#
candidateUsers#
• candidateUsers: any
Implementation of#
Defined in#
dueDate#
• dueDate: any
Implementation of#
Defined in#
followUpDate#
• followUpDate: any
Implementation of#
Defined in#
priority#
• priority: any
Implementation of#
Defined in#
status#
• status: ITEM_STATUS
Implementation of#
Defined in#
timeDue#
• timeDue: Date
Implementation of#
Defined in#
timerCount#
• timerCount: any
Defined in#
messageId#
• messageId: any
Implementation of#
Defined in#
signalId#
• signalId: any
Implementation of#
Defined in#
Accessors#
data#
• get
data(): any
Returns#
any
Defined in#
• set
data(val
): void
Parameters#
Name | Type |
---|---|
val |
any |
Returns#
void
Defined in#
options#
• get
options(): any
Returns#
any
Defined in#
context#
• get
context(): IExecution
Returns#
Implementation of#
Defined in#
elementId#
• get
elementId(): any
Returns#
any
Implementation of#
Defined in#
name#
• get
name(): any
Returns#
any
Implementation of#
Defined in#
tokenId#
• get
tokenId(): any
Returns#
any
Implementation of#
Defined in#
type#
• get
type(): any
Returns#
any
Implementation of#
Defined in#
node#
• get
node(): Node
Returns#
Implementation of#
Defined in#
Methods#
log#
▸ log(...msg
): void
Parameters#
Name | Type |
---|---|
...msg |
any [] |
Returns#
void
Defined in#
setData#
▸ setData(val
): void
Parameters#
Name | Type |
---|---|
val |
any |
Returns#
void
Defined in#
save#
▸ save(): IItemData
Returns#
Defined in#
load#
▸ load(execution
, dataObject
, token
): Item
Parameters#
Name | Type |
---|---|
execution |
Execution |
dataObject |
IItemData |
token |
any |