Matt
> Will this work though?
Yes, if you de-select the enforce task order.
Won't the exit task have higher priority than the enter task
Yes
and therefore finish completely before the enter task starts?
No, the priority system treats waits differently. When a wait is encountered in a task lower priority tasks are allowed to run.
Both of the above options will work if there is a wait in the exit task. However both of the above options will also let the enter task run again. Some times this not desirable. I use a variation of both options to handle a wait in the exit task. It has the benefits of working with the standard default settings for enforce task order and it will not let the enter task run again when the profile goes active before the exit task wait is finished. Here is a example.
Profile: Cell on
Context: cell near
Enter Task: Start
1. Enter task stuff
<put the following actions as the first actions in you exit task>
Exit task:stop
1. Wait 5 sec <whatever time you need>
2. Stop <enter task> ;Start
3 Stop if %PACTIVE ~ *,Cell on,*
4. Rest of exit task