Thanks for the help! But...
...I have another problem. I have a Behaviour Tree that needs to be registered to an event from another Behaviour Tree. I tried to use the SendEvent task but I noticed that the task can send an event only to one GameObject. How can i resolve this?