From what I understand, Activation event in BT service should fire once when it’s activated.
However, in my case, it works like Tick. It gets triggered continuously.
(I confirmed no task gets aborted during the session)
Is this a known issue?
Or am I wrong about the Activation node?
I did a test in a clean project(4.13), and the Activation works just as I expected.
Seems like something’s messed up in my project.
As I have no idea what might be causing the problem thus can’t provide further information, I feel obliged to mark this question as resolved and try to figure it out on my own.
Ok, I found something interesting. If I add a selector between the root and the selector that holds the service, the activation is called every time the execute is called. Please see the image below.
Activation events trigger when nodes become part of the active subtree. Tick events trigger per given delta seconds as long as the subtree is active. So if the active subtree does not alter path, tick events still get triggered, but activation events will not. That’s my understanding.