Community

Send document to exception comment

If i want to send a batch to exception by pressing "Mark for sending to exception" and enter a comment why can't I see this comment in the batch mode view under comment. In order to see the comment I have to get Task and then it will be in yellow at the top. Is there a way to see this comment in the batch view mode under comment.

Was this article helpful?

0 out of 0 found this helpful

Comments

11 comments

  • Avatar
    Aleksey Nikitin
    Hello psquare,

    Task, batch and document are different objects with own comments.
    When you send task, batch od document to another stage you set task comment.
    In case of distributed installation you can create sql query populating task comment to comments of other objects. And it can be used in "On Task Send To Stage" event.
    0
  • Avatar
    psquare
    And this would be in the Event Handler of the project? I don't have that option if so.
    0
  • Avatar
    Aleksey Nikitin
    It is within stage tools in project properties.
    0
  • Avatar
    psquare
    I see it but would you have a code example?

    Thanks
    0
  • Avatar
    Timur
    Hello,

    Passing comments from "Send task to stage" dialogue box to Batch comment requires several sql queries to flexiCapture database and complex scripts, there is a more simpler approach.

    In order to view comments you can use "explore queue" view instead of batch view.
    In verification station right click on any queue and select "explore queue".

    Regards
    Tim






    0
  • Avatar
    psquare
    I have alot of scripting in my project via external Library. So would you have an example of me retrieves the document comment and putting in the batch comment if the current batch is sent to Exception. I'm trying to read stuff in the Developer manual but it's not very clear on how I can get that info.

    Thanks
    0
  • Avatar
    kevin.tsang
    Hello, we are working on the dll that when user click "sent to exception" with the comment, the source image and the comment itself will become attachment and email content to customer's support team. (as a notification), then user are able to view this comment in batch view...

    We are also looking for the way to get this comment and put this comment to batch as well.

    Many thanks.
    0
  • Avatar
    Timur
    Hello,

    In FC database, table Batch contains information about batches including Comments, what you need to do is retrieve ID of the batch which sent to some stage and use it in sql query to update the comment field

    Regards
    Timur



    0
  • Avatar
    psquare
    I get the SQL but when I put code in the "On Task Send To Stage" in the Exception stage it never get fired when my batch goes to exception so how can I execute all this if it never goes to my code?


    I'm I putting this at the right place?
    0
  • Avatar
    Timur
    Hello

    It looks like in order to fire this event you need to actually use the menu option Task->Send to..->Stage

    Regards
    Timur

    0
  • Avatar
    Sara

    Is there any update on viewing comments directly in Batch Mode View under "Comments" column? I cant see comments I entered while sending batches to Exception stage.

    0

Please sign in to leave a comment.