Article ID: 130022, created on Dec 19, 2016, last review on Dec 19, 2016

  • Applies to:
  • Business Automation

Symptoms

There is an event handler that is not needed anymore, it is required to delete it. However attempt to delete it fails with an error message:

ERROR: update or delete on table "TaskHandler" violates foreign key constraint "Task_EHID" on table "Task"

Cause

There are failed tasks generated by this event.

Resolution

You may remove these failed tasks:

Home > System > Settings > Events > Event Type Name > Name Event Handler CONTAINER > Tasks

select all of them and click Delete button.

After that it shall become possible to delete the handler.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF