Forum Discussion

Wian_le_Roux's avatar
Wian_le_Roux
Ideator III
7 years ago
Solved

Versioning on lifecycle step

Hi Guys I have a scenario where a user would like to keep record of a specific document type, namely pre-meeting and post-meeting to compare.  We have manual versioning enabled on our documents i...
  • Meismart's avatar
    Meismart
    7 years ago

    I found the code I am using (which maintains the document links).

    Item myThis = this.apply("version");
    if(myThis.fetchLockStatus()>0) {myThis.unlockItem();}

    return myThis;