Question

4
Replies
831
Views
JanardhanK0965 Member since 2013 11 posts
BNY Mellon
Posted: 9 months ago
Last activity: 9 months ago
Solved

Getting "java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 " error when sending email

Hi,
We are migrating our application from Pega 7.1 to Pega 7.4 version
After migration we are getting below error while sending email in 7.4 version
ERROR - Conversion failed
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0

We use the below settings to send email. Screenshot attached for reference
1. Set email addresses in .pyEmail1 property in WorkParty Data Transform (WorkParty screenshot)
2. Call CorrNew OOTB activity with required params (CallCorrNew screenshot)

Error log attached. I see error throws from SendCorr Agent in "Data-Corr-Email Send" activity when traced.

The above setting works fine in Pega 7.1 version.

Please advice if you have any solution for this.

Low-Code App Development Case Management
Share this page LinkedIn