Mesure the time of a instance

Hi, 

I want to mesure a time of a workflow instance. That is possible?

For example, I have a month to execute all tasks of a workflow instance. If it remains for example 2 days to workflow instance ends I want to send a notification or an email to a specific user.  Is it possible?

 

Thanks in advance,

Diana Bento

Hello
Have you used a non interrupting timer event. Usually they fire upon a duration. 
You can write scripts to configure the timer event. 
 

Hello, thank you so much for your answer. It is possible to "freeze" timer for a specific time?

Hello
I dont think its possible to Freeze the Timer or Use REST API to change the Timer parameter.
If 30 days are configured, after duration  the timer event will be triggered and subsequent tasks will be completed.
I dont see any functionality to Pause the Timer .
I think many other Tool have the option to pause and resume User tasks. This is not seen much in BonitaSoft.

Regards