Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta Workflow Net » Skelta Workflow Net » Workflow Execution » Mappling .Net form with Skelta workflow


Mappling .Net form with Skelta workflowExpand / Collapse
Author
Message
Posted Thursday, September 18, 2008
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #947
Posted Thursday, September 18, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

Post #949
Posted Thursday, September 18, 2008
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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

Post #950
Posted Thursday, September 18, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

Post #951
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
-
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.

All times are GMT -5:00, Time now is 12:54am

 
Execution: 0.125.10 queries.Compression Enabled.

Copyright © 2002 - 2009 Skelta Software. All rights reserved. Tel: 1 (678) 306 4110 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company