VjayaKumar_Incessant Member since 2018 4 posts
Incessant Technologies PVT Ltd
Posted: 2 years ago
Last activity: 2 years 2 months ago

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
Share this page LinkedIn