How to dynamically change the batch or document property via script

Question

How to change dynamically the batch or document property via script?

Answer

Add the steps involved:

  1. Add the custom scripting stage after the recognition:
  2. To be able to read the field in the script set the field Index field:
  3. Edit the script stage
    if(Documents[0].IndexedItemValue("Block")=="SomeVendorName")
    Batch.Priority = TProcessingPriority.PP_ExtraHigh;
  4. Test the result

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.