Mautic Community Forums

Infinite onPostSave Loop

Hi all =)
Is it possible in an “onLeadPostSave”, where i update several Lead fields and save that lead entity, to prevent fire that function again? It causes an infinite loop.