Skip to main content
Nintex Community Menu Bar
Solved

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

  • December 19, 2023
  • 2 replies
  • 286 views

Forum|alt.badge.img+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.

Best answer by TinTex

@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

2 replies

Forum|alt.badge.img+11
  • Nintex Employee
  • Answer
  • December 19, 2023

@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


Forum|alt.badge.img+1
  • Author
  • Rookie
  • December 23, 2023

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