| | | Forum Newbie
       
Group: Skelta Workflow/BPM Net Last Login: Friday, March 30, 2007 Posts: 1, Visits: 6 |
| | I am looking for a example on how to use soapclient.ExecuteWorkflow. I have found the following in API documentation, SoapClient client=new SoapClient(); client.Url="http://localhost/skeltawebservice/workflowclient.asmx"; AuthHeader header=new AuthHeader(); header.UserName="user"; header.Password="password"; client.AuthHeaderValue=header; int i=client.ExecuteWorkflow("Default","Default",1,1,xmlcontent);
However, I am missing what is xmlcontent. Is there a sample that explains what it is? Thanks |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, February 22, 2008 Posts: 25, Visits: 61 |
| | Hi If you would like to pass any application specific data to workflow, you can pass the same as xml content in execute method. eg: client.AuthHeaderValue=header; int i=client.ExecuteWorkflow("Default","Default",1,1,"<Test>4</Test>"); Then in the workflow designer's start action, you can use the proper xpath expression to get the same value and assign to content variables. Eg: In the above scenario it is //Test Regards, Team Skelta
Moderator |
| |
|
|