コミュニティ

Updating Batch comments

 Is it possible to update the batch comment or any other registration parameter by clicking a checkbox inside a document ?

I have a rule in a checkbox field 

if(Context.Field("UpdateComment").Text == "Yes")

{

Context.Document.Batch.Comment = "some comment";

}

 I get the error that the comment is read-only as shown in the attached screenshot .

この記事は役に立ちましたか?

1人中1人がこの記事が役に立ったと言っています

コメント

4件のコメント

  • Avatar
    Permanently deleted user

    hey!

     

    you just need to update the field's readonly property. see attached :)

    0
  • Avatar
    Permanently deleted user

    Hi Melisa,

    I already have the read-only option of the field unchecked.

    I'm not modifying the value of the field. I'm trying to modify the comment of the batch.
    Seems like I can only modify Batch comment through a workflow stage.

     

    1
  • Avatar
    Permanently deleted user

    oh sorry I read it wrongly.

     

    Ok I havent tried this one, but lemme check.

    I think we also need to do this for our next project

    0
  • Avatar
    Permanently deleted user

    Hi were you able to figure this out?

    I want to update a comment field after a task has been recognized with information from the recognition.

    0

サインインしてコメントを残してください。