Hi all
I am using the K2 BlackPoint api to start a workflow process instance from a web page.
The page is in a web site hosetd in IIS using Windows Authentication.
I have logged onto the K2 server, using my own account details, to test the page.
The web page calls the method Connection.StartProcessInstance.
The process starts but the process originator is the service account under which the web site runs and not my account.
I was expecting it to use my windows account details.
The code itself seems fairly staright forward:
{
.....
 Connection wfConnection = new Connection();
       wfConnection.Open(Properties.Settings.Default.WorkflowServer);
       ProcessInstance proc = wfConnection.CreateProcessInstance("MyProcess");
       proc.DataFieldsÂ"ReqID"].Value = reqID;
       proc.Folio = Properties.Settings.Default.WorkflowFolio;
       //start the process
       wfConnection.StartProcessInstance(proc);
 wfConnection.Close();
......
}
Many thanks
Matt
Â