Skip to main content

I get the below error when the below custom even gets executed. Any idea why this is happening ?

 

Mutating Error

 

 

Custom event Code

 

Hi @geminirajesh ,

Solution for table mutating error can be different based on the event setup and your requirement.

 

If your event is based on PART_CATALOG_CFT table, then you can’t modify the table like this. In that case, you may use a workaround to send the update in a background job.

See below topic for more information

How to create a defered job to execute .modify__() ? | IFS Community

 

This blog post will also give you more details on this topic: Tips to avoid mutating table error in IFS event actions

 

Hope it helps!

Damith

 

 

 


Reply