Skip to main content

Hi

I want to get the user that finished an activity in a server event.

In my activity i've a client event and then a server event which saves the user that finished the client event to a process field (name="Arbitre") : 

           K2.ProcessInstance.DataFields."Arbitre"].Value = K2.ActivityInstanceDestination.User.FQN;

 

I deploy my process and start a new instance. I executed the client event without loading form. I use workspace and in the contextual menu of my task i select Action and Accept (name of my action).

Then my process field's value is "K2Server". It is the name of the K2 host server and not user's name !!

Why ?

 

Thank you for your replies
 

Can you describe your process in a little more detail? It appearsyou are just running it from within Workspace and not submitting throughanother means, is this correct? 

This could be an issue with Kerberos or possibly delegationsettings, but it may jus bet within the nature of K2.

I have a process that is started via an InfoPath form using FormsServices. When the process gets initiated it appears back on the document libraryas being submitted by the k2 host server. In my case this is a know issue withK2 and we have worked around it and just accepted it.

 

Ryan 


Reply