Create Task and Associate it with Incident ID
Content
Hello all,
I am trying to create a task using the SOAP Services, The problem is that I don't know how to associate it with an incident ID.
I cannot find any field to set Incident ID.
Is there any workaround ?
Thank you in advance,
Nick
Code Snippet
// set organization NamedID organization = new NamedID(); organization.Name = organizationName; NamedID priority = new NamedID(); priority.Name = "Normal"; Task newTask = new Task(); newTask.Name = "Service Request Submission"; newTask.Organization = organization; newTask.Priority = priority; NamedIDHierarchy account = new NamedIDHierarchy(); account.ID = new ID() { id = 29, idSpecified = true }; account.Name = "admin"; newTask.AssignedToAccount = account; return newTask;
0