Vijayakumar Reddy (VjayaKumar_Coforge)
Incessant Technologies PVT Ltd

Incessant Technologies PVT Ltd
VjayaKumar_Coforge Member since 2018 5 posts
Incessant Technologies PVT Ltd
Posted: July 2, 2018
Last activity: December 13, 2018
Posted: 2 Jul 2018 8:15 EDT
Last activity: 13 Dec 2018 11:56 EST

Email Channels and Interfaces: extraction model for email attachment


I created Email interface from Channels and Interfaces wizard and configured text analyzer to create the cases and extract the data(value to field mapping) based on the content received from the Email. when I send an email(with attachment) to configured mail box, data is being extracted from Email body and attachment successfully. I want same to be extracted from password protected attachments, how can I achieve this?

I tried below steps which is not working,

I updated java step in pyExtractText activity with PasswordProvider interface implementation,

parseContext.set(org.apache.tika.parser.PasswordProvider.class, new org.apache.tika.parser.PasswordProvider() {
public String getPassword(org.apache.tika.metadata.Metadata metadata){
return "password";

parser.parse(source, contentHandler, metadata, parseContext);

I am currently using Pega7.4 instance.

Appreciate any help/suggestion on this. Thanks.

Conversational Channels Decision Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.