cancel
Showing results for 
Search instead for 
Did you mean: 

job history is not saved

fishkao
Champ in-the-making
Champ in-the-making
hi  all

I need to save the script task no matter it is executed or not?

but activiti doesn't save the job when finished its execution, and i have no way to get its starting time and ending time


as for the exception in script task,  the exception log is so important that we need to save it, unfortunately, we found that the engine fails to store the exception, in order to hit that point, we need to do a lot of extra work  which leads to a disaster in loading  speed.

so what's the best practice for script task? we want to save its every detail.

another big problem is that there's a big delay for the timer, it's a disaster for the game company when we use activiti as a flow control for [new game sever deployment],  as it's known that every second counts for game server.

sometimes we find the engine fail to send out the notice message at the right time, about 1min~15min delay.   (task listener )


1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

i have no way to get its starting time and ending time
For jobs - you can use event infrastructure .
http://www.activiti.org/userguide/#eventDispatcher

Regards
Martin