Identifying the action user when a workitem is delegated

  • 24 July 2009
  • 1 reply
  • 0 views

Badge +3

Hi,


I am trying to identify the real user FQN who did take action on a workitem.


My scenario is the following.


1 - Task assigned to USERA


2 - Task is delegated to USERB


3 - USERB completes the task on behalf of USERA.


 I am using the K2.ActivityInstanceDestination.User.FQN.ToString() in a code events but when the task is delegated this value is not updated.


Any ideas?


1 reply

Userlevel 1
Badge +8

Hi Dominic,

I don't think you will be able to access who the delegated user is as the original user is responsible for the task item and is shared between the two people. User B is merely given rights to action an item that is still owned by User A. Because of this, that information will never change, it will always be User A that will be reported as they are in control.

An alternative maybe to do something on the UI side of things, you could always capture who the logged in User was at the time the process was actioned and save that to a process data field for use somewhere else in the process.

Hope this helps

Scott 

Reply