Solved

Which database table have a records of all the completed workflow instances

  • 19 December 2023
  • 2 replies
  • 50 views

Badge +1

Hi team,

 

Could you please help which database table have the records of all the completed workflow instances? 

 

I believe that the active workflow instance tables are: 

[K2].[ServerLog].[ProcInst]

[K2].[ServerLog].[ProcInstData]

 

thanks and much appreciated for your help.

icon

Best answer by TinTex 19 December 2023, 20:42

View original

2 replies

Userlevel 3
Badge +10

@samarm

For Completed process instances:

SELECT * FROM [K2].[ServerLog].[ProcInst] WHERE [Status] = 3

 

Status = 3 would be from: 

SELECT * FROM [K2].[ServerLog].[Status] WHERE [GroupName] = ‘Process’

 

“Active” workflow instances are usually in the:

SELECT * FROM [K2].[Server].[ProcInst]

 

If you are looking for some ERDs, there are some available at:

https://help.nintex.com/en-us/k2five/devref/5.4/Content/Reference/DB/ServerLog.html

Badge +1

Great and thank you so much for your help.

 

@samarm

For Completed process instances:

SELECT * FROM [K2].[ServerLog].[ProcInst] WHERE [Status] = 3

 

Status = 3 would be from: 

SELECT * FROM [K2].[ServerLog].[Status] WHERE [GroupName] = ‘Process’

 

“Active” workflow instances are usually in the:

SELECT * FROM [K2].[Server].[ProcInst]

 

If you are looking for some ERDs, there are some available at:

https://help.nintex.com/en-us/k2five/devref/5.4/Content/Reference/DB/ServerLog.html

 

Reply