As TorQueMoD said, AI can do what ever you want it to do, that’s up to you. It’s all about managing the state machine/blackboard.I like to make a high level plan for the way I want my AI to work on paper before I try and code it, so you can plan it’s states, it’s a good way of making you think about every state you’ll need for the AI’s brain.
One thing that I find works well for making sure the AI doesn’t get stuck in a non active state is to manage that with a service that ticks along at a pre-determined rate (should not be every frame) and that sets your state, so if the AI doesn’t know what to do next then on the next service tick they can have their brain jogged to pick a new task to do if not doing anything currently.
If you need a bit of help getting your head around the basics of how AI works in UE then I would suggest looking at some of the unreal learning course available like this one.