Question
Texas County & District Retirement System
US
Last activity: 21 Nov 2024 0:58 EST
Error logs when "SendSimpleEmail" is used to send a simple email from a function which is not related to a WO.
If we call "SendSimpleEmail" to send a simple email from an activity which is not related to a work object, always it adds an error log as it tries to save a work object. It handles temporary work objects. But it doesn't handle for non work object scenario. Can you please check this?
Below activity is failed - step 26
Activity:update corr and work object after sending[Final,API] CL:Data-Corr- ID:OnSend RS:Pega-ProcessEngine:08-23-01
If we call "SendSimpleEmail" to send a simple email from an activity which is not related to a work object, always it adds an error log as it tries to save a work object. It handles temporary work objects. But it doesn't handle for non work object scenario. Can you please check this?
Below activity is failed - step 26
Activity:update corr and work object after sending[Final,API] CL:Data-Corr- ID:OnSend RS:Pega-ProcessEngine:08-23-01
(OnSend.Data_Corr_.Action) ERROR XXXXXXXXXXXXX - Error in Obj-Delete-By-Handle com.pega.pegarules.pub.database.BadInputException: Handle is empty or null at com.pega.pegarules.pub.database.BadInputException.createGenericBadInputException(BadInputException.java:183) ~[prpublic.jar:?] at com.pega.pegarules.pub.runtime.AbstractActivity.sanityCheckHandle(AbstractActivity.java:67) ~[prpublic.jar:?] at com.pegarules.generated.activity.ra_action_onsend_fb292c473b5d2ad9faa8ff80c6810ac5.step26_circum0(ra_action_onsend_fb292c473b5d2ad9faa8ff80c6810ac5.java:2476) ~[?:?] at com.pegarules.generated.activity.ra_action_onsend_fb292c473b5d2ad9faa8ff80c6810ac5.perform(ra_action_onsend_fb292c473b5d2ad9faa8ff80c6810ac5.java:561) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2881) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:11553) ~[prprivate-session.jar:?] at com.pegarules.generated.activity.ra_action_send_40060b17d2c92b79dbe4377278369a71.step13_circum0(ra_action_send_40060b17d2c92b79dbe4377278369a71.java:1003) ~[?:?] at com.pegarules.generated.activity.ra_action_send_40060b17d2c92b79dbe4377278369a71.perform(ra_action_send_40060b17d2c92b79dbe4377278369a71.java:282) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2881) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:11553) ~[prprivate-session.jar:?] at com.pegarules.generated.activity.ra_action_corrsend_3e82828799a3f858126e4e44ce58159e.step2_circum0(ra_action_corrsend_3e82828799a3f858126e4e44ce58159e.java:319) ~[?:?] at com.pegarules.generated.activity.ra_action_corrsend_3e82828799a3f858126e4e44ce58159e.perform(ra_action_corrsend_3e82828799a3f858126e4e44ce58159e.java:100) ~[?:?] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:2881) ~[prprivate-session.jar:?] at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:11553) ~[prprivate-session.jar:?] at com.pegarules.generated.activity.sh_action_sendsimpleemail_6b5fbf22e5fb6b4423ff9d9cdd2bd261.step23_4_circum0(sh_action_sendsimpleemail_6b5fbf22e5fb6b4423ff9d9cdd2bd261.java:2387) ~[?:?]