Skip to main content

Hello,

 

I was wondering if there is a way to find out the current user on the process. I'd like to find out who has the process and is working on that activity at the moment, for auditing purposes.

 

Is there any property out there? 

Are you talking via C# or maybe through reports?  To get the current user for an activity you can do this via C#


K2WorklistItem.ActivityInstanceDestination


Hi Zeppelin.

Also keep in mind that it may be entirely possible that there is more than one "current user".  A task can be assigned to multiple people and/or there can be multiple different tasks active at the same time.  Thus, K2 doesn't surface a single "Current User" property, but instead can report on current Activity Instance Destinations.


Reply