AI to stop an action when something happens

Hello,

Is there a way to make an AI stop everything he is doing and perform an another action if something happens?

Im using a selector and a blackboard based condition but he wont stop doing his other task until its done.

Thanks in advance