Use Tags.
you have Actor A…it has a Box collider. Generate overlap events enabled and Overlap All dynamics as collision preset:
then you have actor B. I t has a sphere collider set with generate overlap events and also Overlap all Dynamics as collision preset. BUT also the sphere collider just ADD a tag component like this: in my example theGoodOne
Then in Actor A generate an overlap event ot the box collider like this:
and use the tag as condition to do something like this:
good luck!
Dany