I am trying to add some comments for newly created tasks using Createtask command as follows:
//get ids for batch and add comment for every task
Document docs = this._service.GetDocuments(batchId);
int docId = docs.Select(x => x.Id).ToArray();
int taksId = this._service.CreateTask(this._sessionId, (int)ServiceEnums.ProcessingStages.Import, (int)ServiceEnums.TaskPriority.Normal, "test comment", this.GetUserId(), docId, true);
Everything seems to be alright except my task comment "test comment" does not get written to the database (it is always empty).
How can i solve the issue?
Thank you in advance!