public static WFEvent CreateLinkedWorkItemEx(string sourceWorkItemID, string workToPerform, string userID, WFTimeDuration duration, string clientData, bool bDependent) { IWFWorkflowService svc = Common.GetWorkFlowAPI(); WFEvent evt = null; try { evt = svc.CreateLinkedWorkItemEx(sourceWorkItemID, workToPerform, userID, duration, null, true); } catch (Exception ex) { } return(evt); }