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.
#
ParametersName | Type |
---|---|
ctx | Ctx |
workflowitem | Workflowitem |
event | BusinessEvent |
#
Returns#
Defined insrc/service/domain/workflow/workflowitem_eventsourcing.ts:131
#
sourceWorkflowitemsâ–¸ sourceWorkflowitems(ctx
, events
, origin?
): Object
#
ParametersName | Type |
---|---|
ctx | Ctx |
events | BusinessEvent [] |
origin? | Map <string , Workflowitem > |
#
ReturnsObject
Name | Type |
---|---|
errors | Error [] |
workflowitems | Workflowitem [] |
#
Defined insrc/service/domain/workflow/workflowitem_eventsourcing.ts:18