Skip to main content
Solved

Error in Custom Event

  • December 18, 2023
  • 1 reply
  • 259 views

Forum|alt.badge.img+6

Hi,

I have setup a custom event to the table FNDCN_APPLICATION_MESSAGE_TAB and have created an email even action based on this. However, when executing it will show below error message. Anyone can help me to resolve this.

i.e. When changing event action to stream message, it is working properly. 

 

 

Best answer by dsj

Hi @TopDeepaW ,

 

This happens due to that event action email itself tries to create an application message

Best thing is to create a SQL type event action and post your logic to send the email in a background job.

Following topic describe the similar issue and hope will guide you to solve the error!

How can i avoid a mutating problem with a custom event that sends emails when an application message finishes? | IFS Community

 

Cheers!

Damith

 

1 reply

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 905 replies
  • Answer
  • December 18, 2023

Hi @TopDeepaW ,

 

This happens due to that event action email itself tries to create an application message

Best thing is to create a SQL type event action and post your logic to send the email in a background job.

Following topic describe the similar issue and hope will guide you to solve the error!

How can i avoid a mutating problem with a custom event that sends emails when an application message finishes? | IFS Community

 

Cheers!

Damith