I believe you can use the radial menu and under movement is the tab "flee' That may assist your flight to freedom.
I am all for fleeing but it is not allways alowed somtimes you click on flee and get an invalid action prompt.
If your foe is faster than your slowest party member, that may be why it does not work. It might also help if you can get a rock/wall/door between you and your enemy and then try to flee. The lack of a line of sight may assist with the flee roll.