Skip to content

bpmn-server / Item

Class: Item#

Implements#

Table of contents#

Constructors#

Properties#

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#

Item

Defined in#

engine/Item.ts:55

Properties#

id#

id: any

Implementation of#

IItem.id

Defined in#

engine/Item.ts:8


itemKey#

itemKey: string

Implementation of#

IItem.itemKey

Defined in#

engine/Item.ts:9


element#

element: Element

Implementation of#

IItem.element

Defined in#

engine/Item.ts:10


token#

token: Token

Implementation of#

IItem.token

Defined in#

engine/Item.ts:11


seq#

seq: any

Implementation of#

IItem.seq

Defined in#

engine/Item.ts:12


userName#

userName: any

Implementation of#

IItem.userName

Defined in#

engine/Item.ts:13


startedAt#

startedAt: any

Implementation of#

IItem.startedAt

Defined in#

engine/Item.ts:14


endedAt#

endedAt: any = null

Implementation of#

IItem.endedAt

Defined in#

engine/Item.ts:15


instanceId#

instanceId: any

Implementation of#

IItem.instanceId

Defined in#

engine/Item.ts:16


input#

input: Object = {}

Defined in#

engine/Item.ts:17


output#

output: Object = {}

Defined in#

engine/Item.ts:18


vars#

vars: Object = {}

Implementation of#

IItem.vars

Defined in#

engine/Item.ts:19


assignee#

assignee: any

Implementation of#

IItem.assignee

Defined in#

engine/Item.ts:20


candidateGroups#

candidateGroups: any

Implementation of#

IItem.candidateGroups

Defined in#

engine/Item.ts:21


candidateUsers#

candidateUsers: any

Implementation of#

IItem.candidateUsers

Defined in#

engine/Item.ts:22


dueDate#

dueDate: any

Implementation of#

IItem.dueDate

Defined in#

engine/Item.ts:23


followUpDate#

followUpDate: any

Implementation of#

IItem.followUpDate

Defined in#

engine/Item.ts:24


priority#

priority: any

Implementation of#

IItem.priority

Defined in#

engine/Item.ts:25


status#

status: ITEM_STATUS

Implementation of#

IItem.status

Defined in#

engine/Item.ts:28


timeDue#

timeDue: Date

Implementation of#

IItem.timeDue

Defined in#

engine/Item.ts:49


timerCount#

timerCount: any

Defined in#

engine/Item.ts:50


messageId#

messageId: any

Implementation of#

IItem.messageId

Defined in#

engine/Item.ts:52


signalId#

signalId: any

Implementation of#

IItem.signalId

Defined in#

engine/Item.ts:53

Accessors#

data#

get data(): any

Returns#

any

Defined in#

engine/Item.ts:30

set data(val): void

Parameters#

Name Type
val any

Returns#

void

Defined in#

engine/Item.ts:31


options#

get options(): any

Returns#

any

Defined in#

engine/Item.ts:33


context#

get context(): IExecution

Returns#

IExecution

Implementation of#

IItem.context

Defined in#

engine/Item.ts:34


elementId#

get elementId(): any

Returns#

any

Implementation of#

IItem.elementId

Defined in#

engine/Item.ts:35


name#

get name(): any

Returns#

any

Implementation of#

IItem.name

Defined in#

engine/Item.ts:36


tokenId#

get tokenId(): any

Returns#

any

Implementation of#

IItem.tokenId

Defined in#

engine/Item.ts:39


type#

get type(): any

Returns#

any

Implementation of#

IItem.type

Defined in#

engine/Item.ts:42


node#

get node(): Node

Returns#

Node

Implementation of#

IItem.node

Defined in#

engine/Item.ts:45

Methods#

log#

log(...msg): void

Parameters#

Name Type
...msg any[]

Returns#

void

Defined in#

engine/Item.ts:29


setData#

setData(val): void

Parameters#

Name Type
val any

Returns#

void

Defined in#

engine/Item.ts:32


save#

save(): IItemData

Returns#

IItemData

Defined in#

engine/Item.ts:67


load#

load(execution, dataObject, token): Item

Parameters#

Name Type
execution Execution
dataObject IItemData
token any

Returns#

Item

Defined in#

engine/Item.ts:83