Skip to main content
Aug 26, 2021 7:52 AM UTC
Question

Query Spec for later revisions of a part

Hello,

 

I want to write a query spec in such a way that it should give only the later revisions of a part from a specific version and not the old versions. If any of you got such functionality already, please comment the same.

 

Thanks,

Sha

1 reply

Aug 27, 2021 6:50 AM UTC

Use VersionControlHelper.service.allIterationsOf(iterated_obj). This service returns all iterations of the selected object, from last to first. Then pick what you need.