MGCWardenDiffSet
One recorded edit on a governed document: the document, the policy version in force, the workflow it routes to, the document's version stamp, and whether a governance decision has closed it. Per company. Written by Warden; an approval is refused when the document has changed again since it was last submitted. Shown on Change diff sets, exposed as WardenChangeDiffSets.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
DiffSetId | MGCWardenDiffSetId | Yes | Change diff set identifier (number sequence). |
RefTableId | RefTableId | No | |
RefRecId | RefRecId | No | |
DocumentKey | MGCWardenDocumentKey | No | Natural key of the governed document (e.g. purchase order number). Carried beside RefTableId/RefRecId so timeline rows survive document deletion: no field is ever added to a standard table (suite rule). |
Policy | RefRecId | No | |
PolicyVersion | MGCWardenPolicyVersionNum | No | Effective-dated policy version number; read-only counter incremented by New version. |
WorkflowCorrelationId | str | No | The workflow instance this change was submitted as, matching the work item's root correlation ID. Written when the approval is raised. Blank on a diff set never routed, or on an older routed one until the correlation backfill runs. |
VersionStamp | int | No | Starts at 1 and goes up each time a new change joins the same open approval. An approval is refused when the stamp has moved since the change was submitted or last resubmitted. |
Archived | NoYes | No | No while the recorded change is still outstanding on its document. Yes once a governance decision settles it (its hold leaves Active or its reconfirmation is cleared), or when retention cleanup deletes an old set no decision reached. |
RoutingState | MGCWardenRoutingState | No | Whether the approval route this diff set needs has been started: Not required, Pending (the document is held but the workflow is still to start), Claimed (being started now) or Routed. |
ClaimedDateTime | TransDateTime | No | When a route drain took the claim to start this diff set's workflow. Cleared when the claim ends, so a value means a start is in progress; stale claims are judged by this time alone. |
ResubmittedDateTime | TransDateTime | No | When a returned approval for this diff set was last resubmitted; it never moves backward. The approval check then counts later changes on the document from this time. Empty when never resubmitted. |
ResubmittedVersionStamp | int | No | The version stamp when the diff set was last resubmitted; zero if never. An approval is refused only when the stamp has moved past this value (or past 1), so a correction made before the resubmission can be approved. |