Author Message
manoj.jreddy
Joined: Oct 23, 2015
Messages: 64
Offline
i am using a custom class to get few custom attrributes by calling "PomJobPostProcessor" and here is the code.

But on runtime i keep getting the error message "GetContactAtttibutesImpl cannot be cast to com.avaya.pim.api.PomActionProcessor"


public class GetContactAtttibutesImpl implements PomJobPostProcessor
{

public void processContactAttempt(PomCampaignInfo pomCampaignInfo, PomCampaignJobInfo pomCampaignJobInfo, PomContactInfo pomContactAttemptInfo, PomAttemptInfo attemptInfo) throws Exception {


System.out.println("Inside processContactAttempt");
System.out.println("pomContactAttemptInfo.getContactId()" + pomContactAttemptInfo.getContactId());
System.out.println("pomContactAttemptInfo.getContactId()" + pomContactAttemptInfo.getFirstName());
System.out.println("pomContactAttemptInfo.getContactId()" + attemptInfo.getAddress());
}

}
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi.

Did you take a look at

https://www.devconnectprogram.com/fileMedia/download/7d91b410-f5d0-43f4-b710-7e7bd1acd0d4

on page 400 ?
Go to:   
Mobile view