cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any event mechanism acts on TaskVariable?

swamy2156
Champ on-the-rise
Champ on-the-rise
Currently, I am suspending and resuming tasks using a TaskVariable(a.k.a form property) . During task creation time, taskvariable is set to "ACTIVE" and changing it to "SUSPEND/RESUME" based on certain conditions of its lifetime. I would like to trigger an event when task variable is changed to "SUSPEND" or "RESUME". Does Activiti support event mechanism on task variable value change?? If Yes, Please suggest. (any work around also welcomed)

Thanks,
Swamy.

1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
I do not know about such a mechanism.
work around:
You can have a look on org.activiti.engine.impl.history.HistoryManager#recordVariableUpdate method. Method is invoked each time when variable is updated. You can be inspired from it to implement your own hook.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.