| | | Supreme Being
       
Group: Forum Members Last Login: Wednesday, May 06, 2009 Posts: 36, Visits: 100 |
| | Hi, Can anyone please explain me the scenarios for using Contents in Start Activity and how to use them. I have been using Variables and XML Variables in Start, but do not know how to use Contents. Please advice. Regards, Vinay
|
| | | | Senior Member
       
Group: Forum Members Last Login: Tuesday, November 10, 2009 Posts: 7, Visits: 24 |
| | Hi, As you would be aware that the workflow can be executed by passing the UseridString and the xml data to the Execute method. For Example: string xmlcontent = "<Expense><Amount>2000</Amount></Expense>"; Client objClient = new Client("MyRep", "MyWF"); int ExecutionID =objClient.Execute("activedirectory::Bob ",xmlcontent); objClient.Close For the above scenario, if you would like to capture the value of Amount in Workflow, specify the content variable and using XPathExpression capture the value of amount in Content property of Strat Activity. Like //Expense/Amount You can get the more info in help. Thanks,
Rajarshi Das |
| |
|
|