How to pause behaviour tree and play function and after completing function restart behaviour tree from where it is paused not from the starting

I am creating a open world game in unreal engine 4 I added pedistrian (NPCs) and I use behaviour tree to give them work like at 8:00 am the pedistrian will wake up and go to his work and then do animation and then back to home . So how can I add that when I add a trigger so that when the player is in trigger the behaviour tree will pause and do the function given in trigger and after performing that function the behaviour tree will start from where it is paused…