| | | Supreme Being
       
Group: Forum Members Last Login: Tuesday, June 02, 2009 Posts: 55, Visits: 53 |
| How can we get the workflow initiation data that is stored in the SWLong table for an specific execution ID using your Skelta API? |
| | | | Supreme Being
       
Group: Forum Members Last Login: Monday, May 24, 2010 Posts: 41, Visits: 66 |
| | use the below code in order to get the workflow intiation data . Workflow.NET.Engine.Context ctx = Workflow.NET.Engine.Context.GetContext(43, "WindowsRepo");//execution id ,application name . int _productionid = ctx.ProductionID; Workflow.NET.Storage.Production _production = new Workflow.NET.Storage.Production(); string workflowdefnition = ctx.Data; //string workflowdefnition = _production.GetDataFromProductionID(_productionid, "WindowsRepo"); TextBox1.Text = workflowdefnition; Thanks, Santosh kumar
Santosh Kumar |
| | | | Junior Member
       
Group: Forum Members Last Login: Friday, January 27, 2012 Posts: 6, Visits: 47 |
| | Hi, Is it posible to change ctx.Data during execution of WF? BR Mitar |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, June 02, 2011 Posts: 90, Visits: 150 |
| Hi Mitar,
yes you can change the data.
ctx.Data = "XML data";
ctx.SaveContext();
Regards,
Moderator |
| |
|
|