Classify Document Based on it's name

Thank you Venkata,

This is a good solution, but if we have multiple(5+) document types I think the code will be hard to read with that many if conditions in it.
I also found a method to manually assign the document type just between the ‘Data Extraction Scope’ and ‘Classify Document Scope’ with this line:

classifResult(0).DocumentTypeId = classifResult(0).DocumentTypeId.Replace(Split(classifResult(0).DocumentTypeId, “.”).Last,“Ticket”)

Where classifResult is the ClassifactionResults array output of ‘Classify Document Scope’ and we use that Split, because the DocumentTypeId is defined as ‘[Group].[Category].[DocumentType]’

And we put this in a switch activity