Cast fail in animation blusprint

I need to make a caste to my character’s bluprint from animation blusprint.

And this does not work. I do not understand why. To test this system, I created the same cast in the level blueprint. And he works in the level blueprint.
What should I do to make it work and in the animation blusprint?

Thank you so much in advance.