How to validate adding task from external task

I made a plugin to add external task from GLPI and seems to work. My problem is, I can add the same external task to the same project even it already exist. So how do I validate if external task if is already exist in the same project.

1 Like