I have a current wt.epm.document object in wt.maturity.PromotionNotice.
Don't you know, how can I get the link to previous revision (to be exact, the latest iteration of previous revision)?
I'd like to compare this two versions via custom class but I have no idea how to get the previous version.
We are using Windchill 9.1.
Go to Solution.
wt.fc.QueryResult qrPreviousVersions = wt.vc.VersionControlHelper.service.allVersionsOf(epmMasterCurrentVersion);
Will return ordered list of latest iterations of all revisions, from most recent one to the first one (eg. E.8; D.5; C.2; B.1; A.7).
View solution in original post
I've found some related stuff here:
I hope I'll be able to use it.
Upcoming October 2019 Regional User Groups