-
1. Global variable in Timer Event node
salaboy21 Mar 4, 2011 11:34 AM (in response to jbpmfan)Hi,
Where are you using that? in a timer property?
Probably that property don't support the use of experessions or the experssions that can be used for that property is not looking inside the global variables.
Can you explain a little bit more about what are you trying to achieve?
Greetings.
-
2. Global variable in Timer Event node
jbpmfan Mar 8, 2011 5:12 AM (in response to salaboy21)Thank you for response.
I am using it in "Timer delay" property of "Timer Event" node.
This property supports expressions cause I can invoke #{service.calculateDate()} when service is declared
as local variable in process(for instance kcontext.setVariable("service", new SomeObjectService()))
BUT when service becomes global variable suddenly JBPM cannot invoke its method in "Timer Delay" of "Timer Event".
I suppose global variables are not visible in context of Timer Event (just local, process variables).
In our project we assumed that services will be provided to processes by global variables and work item handlers.