You are viewing limited content. For full access, please sign in.

Question

Question

How To Uncutoff Records Using the SDK

asked on June 1, 2020

Is it possible using the SDK to uncutoff records? It's pretty easy to cut them off using the SDK, but going through the documentation, Answers, etc., I can't seem to find a way to get them back to an uncutoff state. If someone could provide a code example I would be very appreciative. This is in a flexible records management context. Naturally I looked at using Workflow first, but it doesn't seem to have that capability either. Thank you for any guidance.

0 0

Replies

replied on June 2, 2020

not sure that this is the correct way but it seems to work:

        Using RecDoc As DocumentInfo = Document.GetDocumentInfo(RecDocID, RASession)
            Try
                Dim rp As Records.RecordProperties = RecDoc.GetRecordProperties()
                If rp.IsCutoff Then
                    If Not rp.DispositionState = Records.DispositionState.Final Then
                        RecDoc.UnCutoff()
                    End If
                End If
            Catch ex As Exception

            End Try
        End Using

 

2 0
replied on June 2, 2020

Uncutoff has been added to the Set Records Management Properties activity for WF 10.4.2.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.