cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow running for 1 year

noobfreso
Champ in-the-making
Champ in-the-making
Is boundary event what I need? Isn't 1 year maybe too long?

I have some files that I would like to be validated every year, then each year there will have to be a "keep or delete" action. I'm considering building a workflow with boundary event but I'm not sure if letting a workflow run for so long, especially since there will be hundreds on the same time, is a good idea.
Any advice?

Thanks.
3 REPLIES 3

mitpatoliya
Star Collaborator
Star Collaborator
No, that will not be a good idea to keep hundreds of pending workflows in system for over a year.
What you can do is create a scheduled job which run everyday on some specific time,identify all such documents and process them.

noobfreso
Champ in-the-making
Champ in-the-making
Thanks for your reply mitpatoliya.

I knew it was probably not the best option, but actually the goal is to be able to do the work without the need of heavy dev. And I suppose that creating such scheduled job requieres some dev right?

kaynezhang
World-Class Innovator
World-Class Innovator
You can use Scheduled Actions,here is an introduction of Scheduled Actions http://wiki.alfresco.com/wiki/Scheduled_Actions.
and this is an example of how to create a custom Scheduled Action http://alch3mi5t.blogspot.com/2012/07/scheduled-custom-action-alfresco.html
It will need som development work ,but not much and not very difficult.