You will need to create 2 new custom events call them “Start Flee Timer” and “Flee Timer End” then copy the image shown below. You do not need to create a new Flee Time variable you can use the existing one. This is done in the event graph of the BP_SmartAIComponent.

Next compile and go to the location shown at the top of the screenshot below, and add the highlighted node.

Next compile and go to the BTT_BeginFlee blueprint and add the highlighted node shown in the image below.