Skip to main content
Nintex Community Menu Bar

asp.net form instead of smart form for approval page

  • January 27, 2006
  • 2 replies
  • 7 views

Forum|alt.badge.img+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

Forum|alt.badge.img+11
  • Nintex Employee
  • January 31, 2006
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

Forum|alt.badge.img+3
  • Author
  • February 1, 2006
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;