-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
This is a way to correlate process-instance-id and ejb-timer-id.
With this in mind, customer require a way to get the process id out of the ejb timer column.
Currently, the log file will show:
10:22:30,901 DEBUG [org.jboss.as.ejb3.timer] (default task-5) Scheduling a single action timer [id=e83c07e3-d804-4555-8fe8-e02b58536b9f timedObjectId=kie-server.kie-server.EJBTimerScheduler auto-timer?:false persistent?:true timerService=org.jboss.as.ejb3.timerservice.TimerServiceImpl@156994ad previousRun=null initialExpiration=Thu Jun 17 10:22:40 CEST 2021 intervalDuration(in milli sec)=0 nextExpiration=Thu Jun 17 10:22:40 CEST 2021 timerState=ACTIVE info=EjbTimerJob [timerJobInstance=GlobalJpaTimerJobInstance [timerServiceId=pattern-timerServiceId, getJobHandle()=EjbGlobalJobHandle [uuid=81-35-Timer # {timerIn}-1]]]] starting at 9,933 milliseconds from now
and customer need to interpret the following pattern:
[uuid=81-35-Timer #{timerIn}-1]].
where uuid is created as combination of sessionId, ProcessInstanceId and timer id:
jobname = processCtx.getSessionId() + "" + processCtx.getProcessInstanceId() + "" + processCtx.getTimer().getId();
The idea is to create a table associated to the process instance id where the information stored is
timer uuid, timer id, timer string id provided by the implementation.
- is related to
-
JBPM-9944 'Cannot find the object "TimerMappingInfo"' thrown on Microsoft SQL
- Resolved