I have two types of Document.
-
From the classfier variable I want to get to know the Document Type.
Is it possible ? -
Why we always pass ClassificationResult(0) always ?
I have two types of Document.
From the classfier variable I want to get to know the Document Type.
Is it possible ?
Why we always pass ClassificationResult(0) always ?
Classificationresult(0).DocumentTypeId gives you the ID corresponding to the document type
Classificationresult(0).DocumentId gives you the File Name of the Processed Document
Classificationresult output is the list(ClassificationResult)
1.Yes, it is possible to get the document type from the classifier variable
Steps:
1.Take assign activity and create a variable
2. Value you can give like this = classifaication(0).DocumentTypeId
3. Orelse
for example if you need only the last one filpkart
Bills.invoice.filpkart
you can use this = classifaication(0).DocumentTypeId.Split(“.”).Last
For the second one if it having multiple types then it will always take the 0 ,that’s why using the ClassificationResults(0)
Nice one brother…Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.