Hello everyone!
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!
Comments
2 comments
By the way a fragment of the Task table looks as follows (Comment field is always empty):
Hello,
When the task is created this way, it is an import task for the image. After this task is completed, the next tasks are automatically created for other stages, and comments from the previous tasks are discarded.
To store information about the processed package that will not be discarded during the workflow, we recommend to use the registration parameters.
Please sign in to leave a comment.