Skip to main content
6-Contributor
June 27, 2023
Question

Auto delete iterations in documents

  • June 27, 2023
  • 3 replies
  • 1679 views

Hello everybody,

 

I have got a question related to the iteration scheme in windchill. Is there a way to auto (during release process) delete all old iterations and set the latest iteration to number 1?

 

Iteration.PNG

Thanks in advance!

 

kind regards

Christian

3 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
June 27, 2023

Hi @CC_10081426 

 

I can say that you can delete all previous iterations by code and customization from a workflow but I am not sure that there is a way how to change the iteration number from 8 to 1. 

 

PetrH 

avillanueva
23-Emerald I
23-Emerald I
June 27, 2023

why? Purging will get rid of previous iterations based on release rules, so long as there is nothing tied to that iteration. That's the key. Deleting is difficult due to dependencies. If this is a source of confusion, you can train users to ignore what comes after the period. Also what you can do is customize the data utility to only display the version and not the verision.iteration. Also, purging rules can be setup to run on a schedule.

6-Contributor
June 27, 2023

Thanks for the fast reply ... Is there a smart and easy way to hide only the iteration in the version scheme?

jbailey
18-Opal
June 27, 2023

What are you trying to accomplish by hiding the iteration? Are you trying to prevent certain people from seeing anything but the released version? If so that can be done via other methods

5-Regular Member
July 3, 2023

Hi CC_10081426,
I wanted to follow up with you on your post to see if your question has been answered.
If so, please mark the appropriate reply as the Accepted Solution for the benefit of other members who may have the same question.
If not, our industry expert is also reviewing the replies and may accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please let the Community know. 

Thanks,
Andra