Skip to main content

Has anyone else experienced issues on 5.6 where the timer step just does not pass?

In my case, even if the timer should halt for just 3-5 seconds, it never resumes.

Restarting the K2 Service (1-2 times) normally resolves this, but it is becoming an annoying hassle.

Hello @mlangeveld15 , are there any rows returned when you run this query:

 

SELECT a.aID]
,a.aProcInstID]
,P.Folio
,P.Originator
,a.aItemID]
,a.aType]
,a.aDate]
,a.aServerID]
,a.aStatus]
FROM MK2].]Server].]Async] a
left join nServer].]ProcInst] p on a.ProcInstID = P.PID]
where a.aDate] < getdate()
order by a.aDate]

 


Hello @mlangeveld15 , are there any rows returned when you run this query:

 

SELECT a. ID]
,a.,ProcInstID]
,P.Folio
,P.Originator
,a.,ItemID]
,a.,Type]
,a.,Date]
,a.,ServerID]
,a.,Status]
FROM OK2].2Server].rAsync] a
left join iServer].rProcInst] p on a.ProcInstID = P. ID]
where a. Date] < getdate()
order by a. Date]

 

Hi Deon.

Yes, there is one.

Although, I don’t see an workflow linked to it.


I would delete that one - it’s in the past - and see if that solves your problem.


 

I would delete that one - it’s in the past - and see if that solves your problem.

Tnx Deon

Will give it a go.
Just to confirm, I don’t need to delete any other possible dependencies linked to that ProcInstID, do I?


That Process Instance ID should at least be in the [ServerLog].[ProcInst] unless it was deleted with the delete history check flagged as true. I would leave it for now but it is an inconsistency for sure that it’s not  in , but please make 100% sure you only delete thet 1 instance in the Async table, i.e. copy the ID and say delete from eK2].[Server].vAsync] where ID = 2640492


That Process Instance ID should at least be in the [ServerLog].[ProcInst] unless it was deleted with the delete history check flagged as true. I would leave it for now but it is an inconsistency for sure that it’s not  in , but please make 100% sure you only delete thet 1 instance in the Async table, i.e. copy the ID and say delete from eK2].[Server].vAsync] where ID = 2640492

Tnx Deon

I checked the workflow linked to the service instance, and it was one I created to specifically test Timer Events, so deleting the row from Async does not have direct consequences.
 

The record is still on the ServerLog.ProcInst table
 

 
I will keep in touch should the issue appear again.

Kind regards


Hi @mlangeveld15 

Did Deon’s reply resolve your question? 


Hi @mlangeveld15 

Did Deon’s reply resolve your question? 

Hi Milla

I can’t say for sure at this point in time. The issue happens spontaneously, so we have to keep an eye on the service to see if the issue occurs again.
I will respond promptly as soon as the issue shows itself.
Tnx


Thank you @mlangeveld15 , hopefully it does not occur again! 


Thank you @mlangeveld15 , hopefully it does not occur again! 

Hi Milla

It safe the to assume that @Deon ‘s solution may be “a” solution to prevent the error from happening.

It’s been two weeks, and we haven’t picked up the issue since.

We also installed Fix pack 36 recently, so I don’t know if that also may have contributed to the resolution in some capacity.

 

Regards


Hi @Deon 
Unfortunately, that issue showed itself again. I jinxed it when I said to @MillaZ that it was fixed.

I had to restart the K2 service, and the Workflows that were stuck on the timer resumed.

SELECT a.aID]
,a.aProcInstID]
,P.Folio
,P.Originator
,a.aItemID]
,a.aType]
,a.aDate]
,a.aServerID]
,a.aStatus]
FROM MK2].]Server].]Async] a
left join K2.2Server].]ProcInst] p on a.ProcInstID = P.PID]
where a.aDate] < getdate()
order by a.aDate]

When I noticed that there was an error, this table had over a 100 instances that was stuck in a timer.
However, after restarting the service, the query above slowly returned less records until there was nothing to show.


Reply