By default, an activity with only server events does not require an actual destination. As such, when K2 Server executes it, it uses a dummy user called "K2Server" as the destination.
You can however add a destination user to an activity that doesn't have a client event, this will give a handle on the desired information.
Page 1 / 1
Dear Experts
I have a server event which retrieves the destination user's information and update some fields. I use "dim person as string=k2.ActivityInstanceDestination.User.Name" and hoping to get destination user's id. However, it returns "K2Server" instead (sometimes, even blank).
Would you know why?
Regards
Flo
I have a server event which retrieves the destination user's information and update some fields. I use "dim person as string=k2.ActivityInstanceDestination.User.Name" and hoping to get destination user's id. However, it returns "K2Server" instead (sometimes, even blank).
Would you know why?
Regards
Flo
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.