Hi,
I have designed a k2 blackpearl process with asp pages. I have a start.aspx. In this start.aspx I create a smartObject. I have also created some process data fields. In this start.aspx I set the process data fields by using this code.
Connection conn = new Connection ();
conn.Open ("blackpearl");
ProcessInstance process1 = conn.CreateProcessInstance("HCSolutionsProcessesProcess1");
process1.DataFields["RequestID"].Value = requestID;
process1.DataFields["Email"].Value = txtEmail.Text;
process1.Folio = "Request for " + txtName.Text;
conn .StartProcessInstance(process1);
Response .Redirect("start.aspx");
conn.Close();
I also have a second asp page called approve.aspx. In this page I want to update some process data fields and I want to add some more of them.
How is this possible? I think the code above doesn't work because I don't want to "CreateProcessInstance".
Thx,
Jochen