Skip to main content
Nintex Community Menu Bar

K2ROM. How to verify that logged on user has rights to act upon process instance?

  • October 6, 2007
  • 2 replies
  • 15 views

Forum|alt.badge.img+2

Using the K2ROM on a .net page load event, how can I verify that the logged on user can act upon the processintance passed identified by the "sn". 


 

2 replies

Forum|alt.badge.img+8
  • October 6, 2007

Hi,


In K2, only users with Worklist items are allowed to act on the Process Instance, users get Worklist items by being defined as destination users in an activity with a client event.


If a user who does not have a worklist item (i.e. not allowed to act), you will get an error which you can handle when you call the connection.openworklistitem(sn,"ASP") method.


 


Forum|alt.badge.img+2
  • Author
  • October 8, 2007
Thanks..smiddie.  Figured this out right after closing my laptop for the day.