cancel
Showing results for 
Search instead for 
Did you mean: 

Process' Start Date

andres_gueci
Champ in-the-making
Champ in-the-making
Hello. I would like to allow a user can only start a process before a specific date. Is it possible using the activiti plugin?


Thanks.
8 REPLIES 8

jbarrez
Star Contributor
Star Contributor

andres_gueci
Champ in-the-making
Champ in-the-making
Thanks for your answer. But it doesn't cover my needs because it start process on a specific date. I would like to avoid to start process after a specific date. Any ideas?

ingo_ri
Champ in-the-making
Champ in-the-making
Hi,

If you have the chance to handle it your application, do it there.

Other Idea: write a listener on the start-event, check there if the user may start a process instance. If not, throw an ActivitiExecption with the message, that he isn't allowed to do this.

Kind Regards,

Ingo

andres_gueci
Champ in-the-making
Champ in-the-making
I tried to set a listener on the start event but it isn't possible using the activiti plugin. If there isn't any way I have to handle it in my application.


Thanks.

jbarrez
Star Contributor
Star Contributor
That is indeed something you will need to handle in your application.

But it does sound like a valid feature request, actually…

andres_gueci
Champ in-the-making
Champ in-the-making
Ok. Thanks! I will handle it in my application.

However, in certain process, for example, calls for studying in a University, it is necessary to avoid that students start the process after the deadline.

jbarrez
Star Contributor
Star Contributor
True. I created http://jira.codehaus.org/browse/ACT-1422

I didn't add a release to it, as this is pretty low priorty. But I do like the feature, nonetheless.
So watch the issue for any updates 😉

andres_gueci
Champ in-the-making
Champ in-the-making
Great!

Thanks a lot.