Hi,
From Advanced Workflow, I can set "Document / Batch Comment" using script, but I couldn't find a way to set the Task Comment. Is it achievable?
Thanks.
Hi,
From Advanced Workflow, I can set "Document / Batch Comment" using script, but I couldn't find a way to set the Task Comment. Is it achievable?
Thanks.
1人中1人がこの記事が役に立ったと言っています
コメント
2件のコメント
Hello,
By design this comment is unaccessable from the scripts, only from webAPI. It can be set by operator who send the task to stage.
There is a way to set it by modifying the dbo.Tasks table (column 'comment'). However any modification of the database during runtime is possible, but not recommended.
Alexey
hi Alexey,
This is exactly what I'd like to do, you say that it's not recommended but I will test all before setting it in production environment.
Just one thing: How and where can I get the TaskID that I'm in?
I mean: I can have the BatchID in a WF Batch script by - Batch.Id
may be going to table Task whith this BatchID is enougth because in this project is ALWAYS 1 batch 1 document.
But it would be better go with the TaskID for modify the comment.
Thanks.
Javier.
サインインしてコメントを残してください。