asp.net form instead of smart form for approval page

  • 27 January 2006
  • 2 replies
  • 2 views

Badge +3
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,

2 replies

Badge +11
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
Badge +3
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;

Reply