Error: 28018 user does not have permissions to open the process in Error Log on K2 PROD server

  • 11 November 2015
  • 0 replies
  • 14 views

Badge +5


 

Symptoms


Error: 28018 user does not have permissions to open the process in Error Log on K2 PROD server
 

Diagnoses


Hi there,

The K2 solution has a simple workflow with just one activity - send email.

The workflow is triggered when the user clicks on the Send Email button on the smart form.

We have users reported not receiving the emails (some of them can receive). And we checked the Event log on the K2 Server, we found there are dozens of the following errors:

28018 user does not have permissions to open the process

The error time appears matching with the start of the Send Email process, but in K2 Process Overview the process has completed successfully. The Workspace Error Profiles folder is empty.

There are no more detail in the error. We also checked the K2 Host Server log, which only shows these errors, without details.

Could you please help what we should investigate from here?

Thanks a lot
Qian
 

Resolution


So the problem here is a very difficult timing issues where we are calling an OpenProcessIntsance directly after a StartProcessInstance method call on different threads . Because the User does not have Admin Permissions , there is a slightly different Code Path that get's followed , delaying the StartProcessInstance a fraction ... This is just long enough for the OpenProcessInstance to come through before the former has completed , and the result is the error being logged . It does not cause any problems during Runtime , it's simply a throw away error that can be ignored . We have solved this problem in 4.6.11
 




 

0 replies

Be the first to reply!

Reply