Email notifications for indexing

  • 268 Views
  • Last Post 30 September 2016
PhinkTad posted this 23 August 2016

Hi,

I have a barcode recognition project and defined scripts such that if the barcode reading is successful, the indexing is done automatically,
and if the barcode is not found properly according to defined condition, the document goes to manual indexing.
Is there any way to send a notification through email when a document goes to indexing?

Thanks,

Order By: Standard | Newest | Votes
Vladislav Suvorov posted this 24 August 2016

Hello,

Sadly FlexiCapture doesn't have built-in means to send e-mail notifications. However, you can always use script for that(I would recommend external library).

Best regards,
Vladislav

Katja Ovcharova posted this 29 August 2016

Dear PhinkTad,

Unfortunately there is no built-in way to send mails at this stage. Nevertheless, scripting in RS allows using almost all default JScript functionalities. It can't send mails directly because it needs some mail server being specified. Script can send GET and POST requests to any server and the server then can send mails based on that request.
This approach is described at http://stackoverflow.com/questions/2...ith-javascript.

The following code sends GET request from script:
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
xmlhttp.open('GET', 'YourGetRequestHere', true);
xmlhttp.send();

Hope this helps.

PhinkTad posted this 30 September 2016

Hi Katja,

Thanks for your response. I'll try to see if this can be implemented.
On the other hand, I was thinking in terms of any possibility of sending email notifications from the smtp options configured on the recognition server.
There is an option to notify if there are no jobs left in queue. Just wondering if this can be modified to be used for indexing as well.

Thanks,

Close