Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I want to store a file in Windchill & have it only be valid for 12 months. After eleven months I want to have an email reminder sent to renew this document. Can I accomplish this with out of the box functionality? Utilizing subscriptions? workflows?
Solved! Go to Solution.
I think it depends on what you mean by "expire". Assuming you just want this document to stay in Windchill, but have users not be able to see it or do anything with it if it expires (except for admins), there may be multiple ways to tackle this.
Off the top of my head I would try making a separate doc type, to get a separate life cycle and workflow, and call it with a separate OIR. While object is in the initial state (say, In Work), the doc can be prepared, etc. Once the doc is ready to be "active", do a set state to the next state (i.e. Released), and have THAT zstate be the trigger to kick off a workflow.
The workflow could do three things in parallel
You can then configure ACLs to the life cycle states accordingly to block access to Inactive objects. The nice thing about this method is that you could always reactivate a deactivated object by setting the state back to Released (most likely from up-revising to In Work first, updating the object, then a set state). There may be better/more efficient ways or tools/elements to use, but this is the first thing that comes to my mind within the OOTB realm.
Yes it is possible. I have done workflow customization to send a email to the creator based on the time limit set in a task.
Well. Let me clarify. I have developed a functionality that the creator gets a task after say 200 days of approval to review the document so that he can update the document. this only happens till the document is obsoleted.
I think it depends on what you mean by "expire". Assuming you just want this document to stay in Windchill, but have users not be able to see it or do anything with it if it expires (except for admins), there may be multiple ways to tackle this.
Off the top of my head I would try making a separate doc type, to get a separate life cycle and workflow, and call it with a separate OIR. While object is in the initial state (say, In Work), the doc can be prepared, etc. Once the doc is ready to be "active", do a set state to the next state (i.e. Released), and have THAT zstate be the trigger to kick off a workflow.
The workflow could do three things in parallel
You can then configure ACLs to the life cycle states accordingly to block access to Inactive objects. The nice thing about this method is that you could always reactivate a deactivated object by setting the state back to Released (most likely from up-revising to In Work first, updating the object, then a set state). There may be better/more efficient ways or tools/elements to use, but this is the first thing that comes to my mind within the OOTB realm.
Maybe consider applying Effective Date to the Document and running a scheduled Report (data monitor) to identify any Documents with the End Effective Date within 1 month. You would use this as a trigger to reaffirm the Document by either Revising or by extending the Effective Date range by an additional period (+12 months)
This would allow you to use Change Management Objects rather than Advanced Lifecyle with workflow applied to the Document. An additional benefit of using Change Management is that you can "process" multiple documents together with a single workflow running on the Change Task, whereas individual Document workflows need to be processed individually It may not be justified, but I get a little concerned about workflows that never close and long running timers in terms of imapct on performace - full disclosure here I have no basis for this concern other than gut feel.
You can't use Effective Date in ACL's but you could in a Saved Search (and probably Table Views, but I would need to confirm this)
Tim,
It looks like you've gotten a lot of good responses here. I also agree that workflow and/or effectivity date would be the easiest way to go. Do either of these routes get you what you need?
Thanks everyone, based on the responses, we think the workflow suggestion by Bob will work best for our needs.