Skip to main content

Hi, 

I recently started with Document Automation. I wanted to check how can we get the document id after a request is created from a task bot. Basically, I am looking to get the output in JSON format which requires the document ID and I’m not sure from where to get the document id of a particular request that was created by calling the process from a task bot.

 

Additionally, how can get the status of a request in the task bot? I.E. If the request was successful or it moved the document to the validation queue? 

 

 

Thanks!

Hi ​@naman.pathak110893 ,

 

As soon as you create a Learning instance through DA, it will automatically create 4 subsequent components. 

 

  1. Form
  2. Process
  3. Extraction Task Bot
  4. Download Task Bot

 

Once you start with document extraction, the Document ID will be an output of the Extraction Task Bot. You can then make use of the Get Document Data action within the Document Extraction package to get the extraction details.


The Output of Get document data will be as a record set which contains the following key values:

  • Dictionary object: DocumentDictionary
  • JSON string representing the document: DocumentJson
  • Status: Status
  • Error message: StatusMessage

From this, you can make use of the Status key for getting the extraction status of the document.

 

 

Hope this will help.


I made a video in Pathfinder Academy on this topic if you want to see it firsthand. We have many videos available… over 500 at last count!


I made a video in Pathfinder Academy on this topic if you want to see it firsthand. We have many videos available… over 500 at last count!

Sure. Can you share a link for those videos. It would be helpful. Thanks :)


Reply