user is not allowed to open the worklist item

  • 11 November 2008
  • 5 replies
  • 16 views

Badge +1

Hi Guys


I have a user account which is used to start the K2 service.


In my .net project I use windows authentication to open a connection to the k2 server.


this is my connection string;


conn.Open("dcslesedi2dev", "[;];Authentication=Windows;Domain=DCS;User=LesediSysacc;Password=Pr0du3t10n;")


Using this account I can start processes, but cannot open a worklist item that was started. See error message below.


System.Exception: 4411 DCSLesediSysacc from 10.131.64.60 is not allowed to open the worklist item DCSLESEDI2DEV,1163,19 at Client.Throw(String s, Exception e) at Client.InternalCall(UInt32 sock, ArchiveX ar, Int32 hdr) at SourceCode.K2ROM.Connection.OpenWorklistItem(String SerialNumber, String Platform, Boolean Alloc, Boolean IgnoreStatus) at SourceCode.K2ROM.Connection.OpenWorklistItem(String SerialNumber, String Platform) at



My server is configured to use windows authentication.


What am I doing wrong here?


Are there any additional rights that this account must have other than Admin and Export under Security, Manage Security.


This user also has all the rights on the process that is started. The identity impresonate is set to true on the webconfig file.


 


 


5 replies

Badge +9
Since you are opening the K2ROM connection under the specific identity of "LesediSysacc", do you know if the that is a valid destination user for the worklist item with serial number DCSLESEDI2DEV,1163,19?  Put another way, was this task assigned to "LesediSysacc".  If not then that is most likely the issue, as a worklist item can only be opened by the person that it is currently assigned to. 
Badge +1

In addition to Bob reply, K2 only allow the destination users and their direct managers to open the worklist items.

Badge +9

How about a user being able to see a worklistitem but not allowed to open it ?


Does K2 supports this ?

Badge +13
Add LesediSysacc to the destinations of your activities if your process/logic require to use this ID to act on any workitem.
Badge +2
use database

Reply