WorkflowJournalType

PackageFCQRS.Workflows
Reads what a projection receives from a workflow's journal.

Specification

Kind
Type
Members
1
Examples
0
InstanceOfSignature
WorkflowJournal.InstanceOf(persistenceId)

Summary

NameSignatureSynopsis
InstanceOfWorkflowJournal.InstanceOf(persistenceId)The instance whose journal holds an event, read from the event's persistence ID, such as `EventEnvelope.PersistenceId`.

InstanceOf

WorkflowJournal.InstanceOf(persistenceId)
Member
The instance whose journal holds an event, read from the event's persistence ID, such as `EventEnvelope.PersistenceId`. A `WorkflowRecord` does not hold its instance's ID, so a projection over workflow records reads it here. An instance journals under "<escaped workflow name>/<shard>/<escaped ID>"; this returns both parts unescaped. Raises `ArgumentException` for a persistence ID of another shape. An aggregate's persistence ID has the same shape, so match the event as a `WorkflowRecord` first.

Parameters

NameTypeDescription
persistenceIdstring

Returns

WorkflowInstance