Skip to content
ralphhanna edited this page Dec 18, 2023 · 3 revisions

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

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


element

element: Element

Implementation of

IItem.element

Defined in

engine/Item.ts:10


endedAt

endedAt: any = null

Implementation of

IItem.endedAt

Defined in

engine/Item.ts:15


followUpDate

followUpDate: any

Implementation of

IItem.followUpDate

Defined in

engine/Item.ts:24


id

id: any

Implementation of

IItem.id

Defined in

engine/Item.ts:8


input

input: Object = {}

Defined in

engine/Item.ts:17


instanceId

instanceId: any

Implementation of

IItem.instanceId

Defined in

engine/Item.ts:16


itemKey

itemKey: string

Implementation of

IItem.itemKey

Defined in

engine/Item.ts:9


messageId

messageId: any

Implementation of

IItem.messageId

Defined in

engine/Item.ts:52


output

output: Object = {}

Defined in

engine/Item.ts:18


priority

priority: any

Implementation of

IItem.priority

Defined in

engine/Item.ts:25


seq

seq: any

Implementation of

IItem.seq

Defined in

engine/Item.ts:12


signalId

signalId: any

Implementation of

IItem.signalId

Defined in

engine/Item.ts:53


startedAt

startedAt: any

Implementation of

IItem.startedAt

Defined in

engine/Item.ts:14


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


token

token: Token

Implementation of

IItem.token

Defined in

engine/Item.ts:11


userName

userName: any

Implementation of

IItem.userName

Defined in

engine/Item.ts:13


vars

vars: Object = {}

Implementation of

IItem.vars

Defined in

engine/Item.ts:19

Accessors

context

get context(): IExecution

Returns

IExecution

Implementation of

IItem.context

Defined in

engine/Item.ts:34


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


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


node

get node(): Node

Returns

Node

Implementation of

IItem.node

Defined in

engine/Item.ts:45


options

get options(): any

Returns

any

Defined in

engine/Item.ts:33


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

Methods

log

log(msg): void

Parameters

Name Type
msg any

Returns

void

Defined in

engine/Item.ts:29


save

save(): IItemData

Returns

IItemData

Defined in

engine/Item.ts:64


setData

setData(val): void

Parameters

Name Type
val any

Returns

void

Defined in

engine/Item.ts:32


load

load(execution, dataObject, token): Item

Parameters

Name Type
execution Execution
dataObject IItemData
token any

Returns

Item

Defined in

engine/Item.ts:80

Clone this wiki locally