JBoss Community

Global variable in Timer Event node

created by jbpmfan in jBPM - View the full discussion

When I try to use global variable to calculate timer delay, i receive following error:

 

Could not find variable scope for variable service.calculateDate()

when trying to replace variable in processId for sub process Timer

Continuing without setting process id.

org.drools.RuntimeDroolsException: Error parsing time string: [ #{service.calculateDate()} ]

 

Of course, service.calculateDate() (where service is global variable) works well in Script Task node.

Is it a bug?

Reply to this message by going to Community

Start a new discussion in jBPM at Community