WorkflowJournalType
PackageFCQRS.Workflows
Reads what a projection receives from a workflow's journal.
Summary
| Name | Signature | Synopsis |
|---|---|---|
| InstanceOf | WorkflowJournal.InstanceOf(persistenceId) | The instance whose journal holds an event, read from the event's persistence ID, such as `EventEnvelope.PersistenceId`. |
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
| Name | Type | Description |
|---|---|---|
| persistenceId | string |
Returns
WorkflowInstance