Repeatable timer configuration at global scope

27 views
Skip to first unread message

Joji Joy

unread,
Aug 11, 2025, 9:54:22 AMAug 11
to jBPM Usage
So I have a process attached as below.
Nothing fancy just calling a few endpoints.

What I want to accomplish is the following,

Want to update a global variable periodically like say 15 minutes
How can I accomplish that in jbpm at global scope.

Tried using timer based start event way of achieving it, however that will be at process instance scope and would not be container level.

Also when I give the expression `R/PT10S` for example. It gives parsing error like below,

Caused by: java.lang.RuntimeException: Error parsing time string: 

GlobalVariablesPOC.bpmn.svg
GlobalVariablesPOC.bpmn

Joji Joy

unread,
Aug 11, 2025, 9:55:49 AMAug 11
to jBPM Usage
FYI I am using jBPM 7.74.1 version.

Joji Joy

unread,
Aug 12, 2025, 10:51:46 PMAug 12
to jBPM Usage
Is is possible to write a job via plane java code to update global variable periodically in jbpm 7.74.1?

No process definition is needed to define timer based flow, just pass the kie session from which we can fetch the global variable and write out logic to update the variable.
Reply all
Reply to author
Forward
0 new messages