Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta BPM.NET 2006 » Skelta BPM.NET 2006 » Workflow Execution » Execute method


Execute methodExpand / Collapse
Author
Message
Posted Saturday, November 08, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
Hi,

To execute a workflow, create an instance of the Client, and invoke the workflow using the Execute method.

as shown in the following :

Execute (int UserId, string Data)

i can run this method and the Data is sent to workflow and i know that it sent to workflow in XMLformat BUT  i don't know what do it do?

please say to me answer this question?

thanks.

Post #1017
Posted Wednesday, November 12, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, March 17, 2011
Posts: 66, Visits: 73
Hi,

You can define a XML Variable to type content or a Content variable in the start activity of the workflow, the XML data passed while triggering the workflow will be set to these varibles and will be accessible during the exection of the process defined. The cantent passed to the workflow can also be used for defining flow of process required.

Regards,

RS

Post #1031
Posted Tuesday, November 18, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
Hi rsimon,

at first thanks for useful response,

but i have one question yet ,please  see this example:

Suppose that one employee has request for leave ,i want check that , if   her request is greater than 10days , i design one workflow that it has one rule activity that it must check this condition and return true of false but i don't know , how can i pass count of days that emloyee requested!!!.

please send for me your respons step by step and with detail because i 'm tenderfoot in using skelta.

 

Your quick response would be really appreciated.

thanks and regards

 

Post #1039
Posted Tuesday, November 18, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, March 17, 2011
Posts: 66, Visits: 73
Hi Mojde,

1. Define the XML that needs to be passed to the Workflow

Example - <LeaveData><UserID>123</UserID><LeaveID>234</LeaveID><LeaveDays>12</LeaveDays></LeaveData>

2. Pass this data to the workflow engine in the Client.Execute Method

3. Define an XML Variable of type content in the start activity of the workflow for the XML you have define in Step 1 as in the attached document.

4. You will be able to use the XML variable in the Rule/Decision activity as in attachment 2

Regards

RS

  Post Attachments 
XMLVariable.PNG (370 views, 30.16 KB)
Leave Days Check.PNG (333 views, 20.13 KB)

Post #1040
Posted Tuesday, November 18, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
Hi ,
thanks for quick and useful response ,
i did every thing that you said to me and i think all things is OK but now i want to know how can i see result of this activity? for example if result is true (12>10), the message is sent to information activity...

best regards

Post #1041
Posted Tuesday, November 18, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, March 17, 2011
Posts: 66, Visits: 73
Hi Mojde,

If you are using a rule activity, it will return a true or false output based on the condition you are validating. If you are using decision activity, you can specify the output you want for the condition you are checking. You can link an information activity to the rule/decision activity for the required output and map the user who needs to be informed as the actor for the information activity.

Regards,

RS

Post #1046
Posted Wednesday, November 19, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, December 16, 2008
Posts: 32, Visits: 120
Hi Rsimon,

my problem is solved by your help.

thanks and best regards.

Post #1049
« 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 10:25am

 
Execution: 0.125.11 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