Skip to main content

SaveStreamDataInArchiveNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Load

SaveStreamDataInArchive node configuration. Routes the source entities into a single archive (per-node — no auto fan-out) identified by SaveStreamDataInArchiveNodeConfiguration.ArchiveRtId.

public record SaveStreamDataInArchiveNodeConfiguration : PathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, IPathNodeConfiguration, IEquatable<PathNodeConfiguration>, IEquatable<SaveStreamDataInArchiveNodeConfiguration>

Inheritance Object → NodeConfiguration → PathNodeConfiguration → SaveStreamDataInArchiveNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, IPathNodeConfiguration, IEquatable<PathNodeConfiguration>, IEquatable<SaveStreamDataInArchiveNodeConfiguration>

Remarks:

Concept §6 / §8 T9: each pipeline node targets exactly one CkArchive. The archive must be in status Activated at runtime; otherwise the underlying repository call throws ArchiveNotActivatedException and the pipeline surface that as a node-level error.

Properties​

ArchiveRtId​

Runtime id of the CkArchive entity that receives the data points produced by this node. Must reference an archive that exists in the tenant and is activated. Required.

public string ArchiveRtId { get; set; }

Property Value​

String

Origin​

Origin of the rows this node writes: ArchiveWriteOrigin.Automated (default, the behaviour before the option existed) or ArchiveWriteOrigin.Manual. A manual row records its writer (the verified user caller, else the client id of the pipeline's service identity) and the platform time. An archive that ranks by $Origin keeps a manual value against every later automated delivery.

public ArchiveWriteOrigin Origin { get; set; }

Property Value​

ArchiveWriteOrigin

ManualReason​

Optional reason recorded with every manual row of this node. Only allowed with SaveStreamDataInArchiveNodeConfiguration.OriginArchiveWriteOrigin.Manual.

public string ManualReason { get; set; }

Property Value​

String

ManualReasonAttributePath​

Optional attribute on the upstream entity that carries the reason of a manual row, for a reason that differs per row. Removed from the attributes like the window attributes; takes precedence over SaveStreamDataInArchiveNodeConfiguration.ManualReason when present and not empty. Only allowed with SaveStreamDataInArchiveNodeConfiguration.OriginArchiveWriteOrigin.Manual.

public string ManualReasonAttributePath { get; set; }

Property Value​

String

ManualReasonPath​

Optional path, relative to each item at Path, that carries the reason of a manual row , for example $.manualReason. The value is read from the DataContext item next to the update info, so the CK type needs no reason attribute and nothing surfaces as a user column. Takes precedence over SaveStreamDataInArchiveNodeConfiguration.ManualReasonAttributePath and SaveStreamDataInArchiveNodeConfiguration.ManualReason when the item carries a non-empty string there. Only allowed with SaveStreamDataInArchiveNodeConfiguration.OriginArchiveWriteOrigin.Manual.

public string ManualReasonPath { get; set; }

Property Value​

String

WriteResultPath​

Optional path the write result is stored at: { stored, skipped, skippedByReason }, so a later node can branch on it. Rows that lose against a stored row are a normal outcome and do not fail the node unless SaveStreamDataInArchiveNodeConfiguration.FailOnSkippedRows is set.

public string WriteResultPath { get; set; }

Property Value​

String

FailOnSkippedRows​

Fails the node when the archive did not store every row, for any reason including CkTypeMismatch, for example an automated delivery against a manual value or a lower quality against a higher one. Default false: automated rows not stored only for CkTypeMismatch are logged at Debug (expected when one update list feeds one node per archive); any other reason is reported as a warning. A manual row that could not be stored always fails the node.

public bool FailOnSkippedRows { get; set; }

Property Value​

Boolean

Path​

public string Path { get; set; }

Property Value​

String

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

SaveStreamDataInArchiveNodeConfiguration()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public SaveStreamDataInArchiveNodeConfiguration()