dkinsley
6 years agoIdeator I
Back up revision level and add "Obsolete" to the document description field
I have a C# server method that creates a new revision of a document then after some edits, moves the document to the "obsolete" state (not CN controlled).
I would like to add script that will
...
- 6 years ago
That doesn´t look like one of the default transitions handlers.
You could remove the 'version' function block to prevent the new revisions:
.Version((sourceItem, versionItem) => { versionItem.ItemNumber = sourceItem.ItemNumber; versionItem.RevSequence = sourceItem.RevSequence; versionItem.Revision = sourceItem.Revision; versionItem.Classification = sourceItem.Classification; });
But I wonder if this Obsolete handler works at all? It doesn´t promote anything to Obsolete, but only versions the items.