Problem with casting from custom notify to character bluprint

in the anim BP event graph, do an anim notify and then Get all actors of class (Your character BP) and connect that to a get node. Then from the get node you get your custom event. and connect the anim notify to the custom event. and the do the rest in your custom event in the character BP.