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 itemtype, but the user would like this to happens automatically when the document is promoted to the next step in the document class lifecycle.
I have created the linear life cycle assigned with the class, with permissions and created the following script,that runs on the post method transition.
Innovator inn = this.getInnovator();
Item newItem = this.apply("version");
This creates a new version of the document when i promote it to the lifecycle step, but it does not include the word file in the document view. Am i missing something in the script to pull the data from the previous version?
Thanks in advance