How do we parse the pdf attachment data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2020 10:36 PM
Please provide the document or steps to parse the pdf attachment data?
Requirement is to parse the fields from the email PDF attachment to ServiceNow table.
- Labels:
-
MID Server
-
Notifications

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2020 11:12 PM
seems like you have to build your own java based utility in service-now , you can create here processor or you can see any java script library available which does it. so use that inside script include and then try to use that function to fetch the value.
reference:
https://www.npmjs.com/package/pdf-parse
https://stackoverflow.com/questions/1554280/extract-text-from-pdf-in-javascript
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2020 01:12 AM
Processor is deprecated, so instead scripted REST API will work?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2020 01:26 AM
try with external js library , give a try see if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2020 02:29 AM
Can we use pdf.js in script include? If yes, how can we do?