Skip to main content

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​

NameTypeMandatoryDescription
DiffSetIdMGCWardenDiffSetIdYesChange diff set identifier (number sequence).
RefTableIdRefTableIdNo
RefRecIdRefRecIdNo
DocumentKeyMGCWardenDocumentKeyNoNatural 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).
PolicyRefRecIdNo
PolicyVersionMGCWardenPolicyVersionNumNoEffective-dated policy version number; read-only counter incremented by New version.
WorkflowCorrelationIdstrNoThe 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.
VersionStampintNoStarts 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.
ArchivedNoYesNoNo 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.
RoutingStateMGCWardenRoutingStateNoWhether 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.
ClaimedDateTimeTransDateTimeNoWhen 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.
ResubmittedDateTimeTransDateTimeNoWhen 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.
ResubmittedVersionStampintNoThe 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.