| Methods / Methods for Manual Work Items (Tasks) | 
| Name | Type | Description | 
|---|---|---|
| activityInstanceID | string | A string that contains the ID for an activity instance. | 
| workToPerform | string | A string that specifies the work to perform. | 
| userID | string | A string that contains a user ID for the user associated with the work item. | 
| duration | WFTimeDuration | A time-duration object that specifies the duration setting of the work item. | 
| clientData | string | A string that contains the client data. If clientData is null, the system will keep existing client data, otherwise the relevant data would be overwritten. | 
WFEvent object that provides the status of the transaction. Possible statuses are Success, Failed, and Sent.
IWFWorkflowService svc = GetWorkflowService();
string activityInstanceID = … // for example, "0172460E0AF943C6A6520044452BCAB3";
string workToPerform = … // for example, "SubmitRequest";
//different workToPerform can be used if desired
WFTimeDuration duration = new WFTimeDuration("15", WFTimeUnit.DAY, true );// business time
string user = @"[DOMAIN NAME]\username"; //the participant of the linked work item
try
	{
    WFEventevt = svc.CreateWorkItem(activityInstanceID,
    workToPerform, user, duration, null);
	}
catch(Exception ex)
	{
    Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
    }