www.skelta.com
Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta Workflow Net » Skelta Workflow Net » Workflow Execution » Sample WorkFlow Code

11 posts, Page 1 of 2. 12»»

Sample WorkFlow CodeExpand / Collapse
Author
Message
Posted Tuesday, February 19, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, February 27, 2008
Posts: 37, Visits: 82
i need the small excution program in workflow...

i need to enter some value in workflow..

how can i enter the value

Post #575
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 6:29 AM
Posts: 105, Visits: 556

Hi Saravanan,

 

If the requirement is to execute the WF using code:

 

        string xmlContent = "<data>2</data>";

        Workflow.NET.Engine.Client client = new Client("RepositoryName", " WorkFlowName ");

        client.Execute(7, xmlContent);

        client.Close();

 

and data can be passed to WF in the form of XML string format (see variable xmlContent ) and you can declare the variable of type Contents in Start activity of the workflow and using XPath expression you can fetch the data (xmlContent) that you are passing to WF.

 

Hope I’ve answered your question. If you can make the requirement/question more clear/specific then I can help you better.

Regards,

Bineesh E Raghavan

Post #579
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, February 27, 2008
Posts: 37, Visits: 82
hi binesh

thanks for reply

plz find the attachment

i designed my workflow design  like this...

my doubt is;

how i run the workflow and check the work flow process...

  Post Attachments 
WorkFlow.doc (51 views, 87.50 KB)

Post #582
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 6:29 AM
Posts: 105, Visits: 556

Hi Saravanan,

 

Please use the above code to run the WF and you can check the WF process in reports control. Please add reports control and configure the control and it will show all the workflows that are running in the application.

Regards,

Bineesh E Raghavan

Post #583
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, February 27, 2008
Posts: 37, Visits: 82
hi binesh sorry for the distrubance

i used above code in web application it show the error like this:

Repository [RepositoryName] not defined., severityLevel: Fatal

 

if u have JPG format plz attch

Post #584
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 6:29 AM
Posts: 105, Visits: 556

Hi Saravanan,

 

“RepositoryName” need to be replaced with your Application name

Regards,

Bineesh E Raghavan

Post #587
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, February 27, 2008
Posts: 37, Visits: 82
hi binesh

i give like this

string xmlContent = "<data>2</data>";

Workflow.NET.Engine.Client client = new Client("WebSite4", " WorkFlowName ");

client.Execute(7, xmlContent);

client.Close();

website4 is my webapplication name..

if possible plz give u r contact number...

but it show same error..

plz help me...

i use like this:

Workflow.NET.Engine.Client client = new Client("skeltastore", " WorkFlowName ");

.here skeltastore-->repositryname it is already created...

it is right

i need u r help...

Post #588
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 6:29 AM
Posts: 105, Visits: 556

Hi Saravanan,

 

Could you please send me the screenshot of the properties of “process designer” control and also let me know which version of product are you using?

·         BPM.Net 2007 Or

·         BPM.Net 2006 Or

·         Workflow.NET R2

Regards,

Bineesh E Raghavan

Post #591
Posted Wednesday, February 20, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, February 27, 2008
Posts: 37, Visits: 82
thank u very much binesh

this is my no:

94445 78933

really i need u r help

i used

BPM.Net 2007

plz find the attchment

  Post Attachments 
WorkFlow.doc (51 views, 166.50 KB)

Post #592