Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can the Expiration Policy Get Its Value from an Attribute?

I want to use the Expiration policy to expire assets after a certain time that the asset owner can set.

I'd like to have an attribute called Review Period and set it to a range from 3 to 18 months. The owner would input a value in this range.

I want the lifecycle expiration policy to pick up this number and use it, but I don't see any way of doing that. Is there one?

I have similar requirements for other policies to be able to look at attribute values in the same asset and use them. In general, can this be done?

Thanks,

0 votes



One answer

Permanent link
There is not a built in policy to do this, but you could write a custom policy to accomplish your goal. Some existing policies do take actions based on attribute values. For example, the 'Modify Reviewer' policy adds a reviewer based on the value of the 'Owner' attribute.

You would set your policy to run on a timer, maybe once per day, and each time it ran you could check the value of the 'Review Range' attribute and decide whether or not it is necessary to take a particular action.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 21 '12, 6:47 a.m.

Question was seen: 5,873 times

Last updated: Mar 21 '12, 6:47 a.m.

Confirmation Cancel Confirm