| | | Supreme Being
       
Group: Forum Members Last Login: Tuesday, June 02, 2009 Posts: 55, Visits: 53 |
| | Hi, I am working on Skelta Workflow.NET 2004. Would like to know the procedure/suitable approach for updating a custom field? |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, February 10, 2011 Posts: 28, Visits: 47 |
| | Hi, The table 'SWCustomFieldsConfig' contains the Custom Field name and the mapped column. The table 'SWActivityCustomFields' contains all the custom filed values set for particular activities. Use the below sample code to update the custom field using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using Workflow.NET.Engine; private void button1_Click(object sender, System.EventArgs e) { Workflow.NET.Engine.ActivityContext act=new ActivityContext("SPS_1","TestSetCustomField",50); act.UpdateCustomFieldValue("Test","TestUser1"); } Regards Saravanan |
| |
|
|