Skip to main content
Nintex Community Menu Bar
Question

(K2 5.6) Workflows not continuing - timer service and delays

  • April 12, 2024
  • 11 replies
  • 249 views

mlangeveld15
Forum|alt.badge.img+3

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.

11 replies

Deon
Forum|alt.badge.img+10
  • Rookie
  • April 15, 2024

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 [K2].[Server].[Async] a
left join [Server].[ProcInst] p on a.ProcInstID = P.[ID]
where a.[Date] < getdate()
order by a.[Date]

 


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • April 15, 2024

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 [K2].[Server].[Async] a
left join [Server].[ProcInst] 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.


Deon
Forum|alt.badge.img+10
  • Rookie
  • April 15, 2024

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


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • April 15, 2024

 

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?


Deon
Forum|alt.badge.img+10
  • Rookie
  • April 15, 2024

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 [Server].[ProcInst], but please make 100% sure you only delete thet 1 instance in the Async table, i.e. copy the ID and say delete from [K2].[Server].[Async] where ID = 2640492


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • April 15, 2024

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 [Server].[ProcInst], but please make 100% sure you only delete thet 1 instance in the Async table, i.e. copy the ID and say delete from [K2].[Server].[Async] 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


MillaZ
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • April 15, 2024

Hi @mlangeveld15 

Did Deon’s reply resolve your question? 


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • April 15, 2024

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


MillaZ
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • April 15, 2024

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


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • April 30, 2024

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


mlangeveld15
Forum|alt.badge.img+3
  • Author
  • Rookie
  • May 13, 2024

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.[ID]
,a.[ProcInstID]
,P.Folio
,P.Originator
,a.[ItemID]
,a.[Type]
,a.[Date]
,a.[ServerID]
,a.[Status]
FROM [K2].[Server].[Async] a
left join K2.[Server].[ProcInst] p on a.ProcInstID = P.[ID]
where a.[Date] < getdate()
order by a.[Date]

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.