Trying to log the user who completed a task
+1
There has to be an easy way to do this, I just can't seem to find it. I've got a task that is only ever assigned to one user, but of course that task could get delegated. After the item is actioned, I want to record the user who performed that. Right now I've got a server event in my activity right after the client event, but when I pull the K2.ActivityInstanceDestination.User.FQN I get the k2 service account. Where should this code be and what k2 field should I be pulling?
+4
Using the K2.ActivityInstanceDestination.User.FQN should give you detination user domain name.
But make sure that you select plan per destination in your destination rules.
Also select resolve all roles and groups to users.
I think this might resolve your problem.
Another way to log history is to use smart objects. You can also log from from your interface.
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.