Skip to main content

service/domain/workflow/workflowitem_eventsourcing

Api Code Documentation / Exports / service/domain/workflow/workflowitem_eventsourcing

Table of contents#

Functions#

Functions#

newWorkflowitemFromEvent#

newWorkflowitemFromEvent(ctx, workflowitem, event): Type<Workflowitem>

Returns a new workflowitem with the given event applied, or an error.

Parameters#

NameType
ctxCtx
workflowitemWorkflowitem
eventBusinessEvent

Returns#

Type<Workflowitem>

Defined in#

src/service/domain/workflow/workflowitem_eventsourcing.ts:131


sourceWorkflowitems#

sourceWorkflowitems(ctx, events, origin?): Object

Parameters#

NameType
ctxCtx
eventsBusinessEvent[]
origin?Map<string, Workflowitem>

Returns#

Object

NameType
errorsError[]
workflowitemsWorkflowitem[]

Defined in#

src/service/domain/workflow/workflowitem_eventsourcing.ts:18