AnsweredAssumed Answered

How does Retention Action work in retention schedule?

Question asked by zhihailiu on Jul 20, 2018
Latest reply on Jul 27, 2018 by zhihailiu

https://docs.alfresco.com/rm/tasks/rm-dispschedule-createsteps.html

Retention Action = The date when the last retention action took place. Don't select this for the first step in the schedule.

 

RM documentation above says you can select Retention Action in defining retention schedule steps. I am not clear what exactly it means and how it works. For example, let's say my retention schedule is defined as 

1. Cut off 5 days after Created Date

2. Destroy 5 days from Retention Action

It seems to me that the record should be destroyed 5 days after cut off date, which is "The date when the last retention action took place". However it didn't work out that way in the tests - the disposition date for Destroy is not set.

Cut Off Date: Fri Jul 20 2018 
Disposition as of Date: (None) 

 

I looked it up and found that Retention Action is backed by rma:dispositionAsOf property. 

https://github.com/Alfresco/records-management/blob/master/rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-disposition-properties-context.xml

<bean id="disposition.properties.dispositionasof" parent="disposition.properties.base">
<property name="name" value="rma:dispositionAsOf" />
</bean>

 

records-management/recordsModel.xml at master · Alfresco/records-management · GitHub 

rma:dispositionAsOf is a property defined in type rma:dispositionAction. When RM executes the disposition, it will try to get the value of rma:dispositionAsOf from the record node, not the associated record action node. However the record node does not have rma:dispositionAsOf and thus "(None)" as a result?

 

Could anyone explain how Retention Action is supposed to work and what is a use case/example for it? Thanks.

 

 

 

Outcomes