Skip to main content
6-Contributor
Jun 27, 2023 9:49 AM UTC
Question

Auto delete iterations in documents

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

6 replies

HelesicPetr
22-Sapphire II
Jun 27, 2023 12:45 PM UTC

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 

Translate
avillanueva
23-Emerald II
Jun 27, 2023 2:17 PM UTC

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.

Translate
6-Contributor
Jun 27, 2023 2:29 PM UTC

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

Translate
jbailey
18-Opal
Jun 27, 2023 2:53 PM UTC

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

Translate
Emeritus
Jul 3, 2023 6:37 AM UTC

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


 

Translate