Community

comment Properties

How to use this.Batch.Comment?

in Jscript

I has a question. If I use this in export script will show my comment in comment column in verification right ?

Thank you.
0

Comments

3 comments

  • Avatar
    Vladislav Suvorov
    Hello,

    Batch.Comment is a read\write property as mentioned in Help, so in your code you can write any appropriate value to it. Later you will be able to see this comment at the Verification Station in the Comment column.
    However this property is Read-only from export script.

    Best regards,
    Vladislav
    0
  • Avatar
    laptorkung
    Hello,

    Batch.Comment is a read\write property as mentioned in Help, so in your code you can write any appropriate value to it. Later you will be able to see this comment at the Verification Station in the Comment column.
    However this property is Read-only from export script.

    Best regards,
    Vladislav

    Thank you for your response.

    Can you explain me about comment properties ? how to use this?

    For my example use by this.comment("Comment"); or this.comment = "Comment"; or other.(I use Jscript)

    and this method Can I use in script in workflow(adv.) in batch type properties?

    Best regards,
    James
    0
  • Avatar
    Vladislav Suvorov
    Hello James,

    1)Comment IS a property and doesn't have any of its own. Also please note register of C letter since JScript is case-sensitive (trying to access .comment property will likely result in error).
    2)this.Comment("Comment"); is an invocation of a method Comment which IBatch doesn't have (trying that will likely result in error). this.Comment = "Comment"; is a proper way to set properties.
    3)Advanced workflow is accessible not only from Batch types but also from Project->Properties for default Batch type.
    4)Yes - this property is usable from advanced workflow and can be set only in Batch processing script(according to FlexiCapture help).
    For more information please consider using Appendix > Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Objects > IBatch in help.


    Hope this helps,
    Vladislav
    0

Please sign in to leave a comment.