It's all about the answers!

Ask a question

How does the AssetCleanup policy work?


Sripriya Karimpuzhasriram (134852) | asked Oct 12 '13, 5:33 a.m.

Hello team,

We have a test community and we are trying to automate deletion of all assets in the community that are in a particular state and are longer than a month old.

We have configured the Asset Cleanup Policy in the required state in the lifecycle and using the Timer and set it to 1 month.  Is there a job that triggers automatically finds all such assets from the system and deletes them from the system.?

Please can you let us know how this works?

Thanks!

Regards,

Sripriya

One answer



permanent link
Gili Mendel (1.8k56) | answered Oct 14 '13, 8:07 a.m.
JAZZ DEVELOPER
The policy, when executed will either delete, or retire older versions of that (GUID) asset. 

The intent of this policy is that all versions of that asset will follow a life-cycle where this policy is executed at some state (e.g, when approved) ... in which point it will remove older versions - hence no need to run it on a timer.

For for the timer, you can configure a policy to run inline (same thread that makes the asset update), or in a background thread.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.