Question

2
Replies
3217
Views
Reshmi Nair (Reshmi206)
Tata Consultancy Services Ltd
Lead Decision Architect
Tata Consultancy Services Ltd
AU
Reshmi206 Member since 2012 4 posts
Tata Consultancy Services Ltd
Posted: April 23, 2018
Last activity: May 3, 2018
Posted: 23 Apr 2018 6:49 EDT
Last activity: 3 May 2018 3:53 EDT
Closed
Solved

Using SendSimpleEmail

Are there any issues if I use SendSimpleEmail from an Activity. I need to send a correspondence object as well in the email. However SendSimpleEmail is giving error in higher environment. It is working fine in Dev environment but failing in test with below error.

Tried calling CorrNew from the activity as an alternative , however the email is not generated at all.

Error:

Exception at 20180419T020000.673 GMT: com.pega.pegarules.pub.clipboard.InvalidReferenceException: The reference <code block> is not valid. Reason: FUAInstance-NullMyStepPage at com.pegarules.generated.activity.ra_action_sendsimpleemail_1514f1485bc5212645ab15b16c859210.step14_circum0(ra_action_sendsimpleemail_1514f1485bc5212645ab15b16c859210.java:1586) at com.pegarules.generated.activity.ra_action_sendsimpleemail_1514f1485bc5212645ab15b16c859210.perform(ra_action_sendsimpleemail_1514f1485bc5212645ab15b16c859210.java:322) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553) at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10711) at com.pegarules.generated.activity.ra_action_runccrejobstatuslatest_c2e894acf90ca827b5fd5ad6bea8ade0.step15_circum0(ra_action_runccrejobstatuslatest_c2e894acf90ca827b5fd5ad6bea8ade0.java:1549) at com.pegarules.generated.activity.ra_action_runccrejobstatuslatest_c2e894acf90ca827b5fd5ad6bea8ade0.perform(ra_action_runccrejobstatuslatest_c2e894acf90ca827b5fd5ad6bea8ade0.java:352) at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553) at com.pega.pegarules.session.internal.async.agent.QueueProcessor.runActivity(QueueProcessor.java:749) at com.pega.pegarules.session.internal.async.agent.QueueProcessor.execute(QueueProcessor.java:618) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1000) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1286) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1034) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:916) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:707) at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:991) at com.pega.jsr166backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:532) at java.lang.Thread.run(Thread.java:745)

Data Integration Java and Activities
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.