Hi Anja,
The K2 object in a server event is usually a ServerEventContext object and this comes from the KO dll which is basically the core engine of BP. Not sure where the documentation for it is because I thought it was included in the developer reference...
So to get to description of the activity, note that you can only do that for the current activity in which this server event is running. Do:
K2.ActivityInstanceDestination.Activity.Description;
HTH,
Hi All, how to Change/Update the Activity Description at runtime in server code Event. please help me out...
Thanks for the reply....actually my scenario is like i have an activity which has some description. Now depending on some condition in the server code event, i need to change/update the activity description. so that it shows that particular description on k2worklist webpart (if we use Default Client Event) . Please help me...