Does anyone have a simple approved/reject type asp.net page that they could post the code for? I am not having any luck using smartforms and i cannot find a tutorial on a .net aspx page for this.
Thanks,
Page 1 / 1
Sorry, the best I can do is to direct you to the samples in the Help file. Specifically have a look at the K2ROM object model.
Regards,
Ockert
Regards,
Ockert
What I was looking for was what k2rom methods to call to update the task. This works for me.
SourceCode.K2ROM.Connection c = Connect();
SourceCode.K2ROM.WorklistItem wli = c.OpenWorklistItem(inSerialNumber, "ASP");
wli.ActivityInstanceDestination.DataFields["ACTION"].Value = inAction;
wli.ActivityInstanceDestination.DataFields["COMMENT"].Value = inComment;
wli.Finish();
return true;
SourceCode.K2ROM.Connection c = Connect();
SourceCode.K2ROM.WorklistItem wli = c.OpenWorklistItem(inSerialNumber, "ASP");
wli.ActivityInstanceDestination.DataFields["ACTION"].Value = inAction;
wli.ActivityInstanceDestination.DataFields["COMMENT"].Value = inComment;
wli.Finish();
return true;
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.