Given a list of Incidents, it should be simple to get the External Task id’s associated with the incident (assuming it is of type externalTask).
Currently, have to query for external tasks for a given process id - which will include tasks that haven’t failed