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