| | | Forum Newbie
       
Group: Forum Members Last Login: Tuesday, October 07, 2008 Posts: 2, Visits: 10 |
| | Hi, How to map .net form with skelta workflow? Thanks in advance
Regards, Prashant |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, March 12, 2009 Posts: 166, Visits: 707 |
| It is possible to execute the workflow by associating with .NET events. e.g. button click Please find the sample code for the same. 1. Add reference to Workflow.NET.NET2 dll 2. Add the following namespaces: using Workflow.NET; using Workflow.NET.Engine; using Workflow.NET.Engine.Interface; 3. Write the following code in button click event Client client = new Client("[RepositoryName]", "[WorkflowName]"); client.Execute("activedirectory::john", "<test></test>"); client.Close(); Use the prefix for userid accordingly: Form Provider: “sqlprovider::” + userid Activedirectory: “activedirectory::” + userid Skeltalist: “skeltalist::” + userid
Regards, Bineesh |
| | | | Forum Newbie
       
Group: Forum Members Last Login: Tuesday, October 07, 2008 Posts: 2, Visits: 10 |
| | Thanks Bineesh for your reply. I have done the same but facing error while executing at below line: Client client = new Client("[RepositoryName]", "[WorkflowName]"); Error is: null reference, its not creating object. Would you please help. Thanks in advance
Regards, Prashant |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, March 12, 2009 Posts: 166, Visits: 707 |
| Hi Prashant, Did you replace parameters ([RepositoryName],[WorkflowName]) with actual repositoryName and workflow? Still if it is showing the error please send me the screenshot of the code that you have written and the error in skelta log console.
Regards, Bineesh |
| |
|
|