Hello!
One of the most important things in SharePoint 2013 is cross-stage workflows. SharePoint 2010 has "sequential" chain-like workflows with plain passage in flow
protected void StartWorkflow(SPWeb web, Guid workflowID, int itemID)
{
var wfsrvmng = new Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager(web);
var wfsubsrv = wfsrvmng.GetWorkflowSubscriptionService();
var wfsub = wfsubsrv.GetSubscription(workflowID);
var wfi = wfsrvmng.GetWorkflowInstanceService();
wfi.StartWorkflowOnListItem(wfsub, itemID, new Dictionary<string, object>());
}
<Property Name="WSGUID" Value="..." />
System.FormatException: Expected hex 0x in "{0}".