Is there a way to go through all batches? I have a registered parameter that contains file number and I would like to through all previous batches to see if that number existed already.
In case if you are using FC distributed, I think the best way to perform this action is the following: 1. The registration parameters can be found in your FC database. You should create a SQL query to get this information. select * from dbo.BatchParameter with (NOLOCK) where Name = 'MyParameterName' and Value = 'New value' 2. For example: You should create script in "Before batch parameter changed" which will select data from this query and check the results.
Another way is using FC Web Api. In this case you should create a separate application which will be able to read batches and get information about reg. parameters. In order to get more information about this approach please read Developers guide.
0
Permanently deleted user
Okay thanks and is there a way to trigger a pop up from my external library (dll) to Verification station to display the information I have found?
0
Permanently deleted user
Hello,
If you need to check if any existing batches contain a registration parameter with a specific value, you can also use filtering options in batch view. Try using filtering options, maybe there is no need to do anything more complex.
In case if this is not an option you will need to create a custom button on verification station to execute scripts from your assembly.
You can find details on how to customize verification station interface in developers Help->Using scripts in abbyy flexicapture->Scripts for customizing interface
Feel free to ask any questions if you have trouble customizing verification station interface.
Comments
3 comments
In case if you are using FC distributed, I think the best way to perform this action is the following:
1. The registration parameters can be found in your FC database. You should create a SQL query to get this information.
select * from dbo.BatchParameter with (NOLOCK) where Name = 'MyParameterName' and Value = 'New value'
2. For example: You should create script in "Before batch parameter changed" which will select data from this query and check the results.
Another way is using FC Web Api. In this case you should create a separate application which will be able to read batches and get information about reg. parameters. In order to get more information about this approach please read Developers guide.
If you need to check if any existing batches contain a registration parameter with a specific value, you can also use filtering options in batch view. Try using filtering options, maybe there is no need to do anything more complex.
In case if this is not an option you will need to create a custom button on verification station to execute scripts from your assembly.
You can find details on how to customize verification station interface in developers Help->Using scripts in abbyy flexicapture->Scripts for customizing interface
Feel free to ask any questions if you have trouble customizing verification station interface.
Regards
Tim
Please sign in to leave a comment.