I noticed a bug where the exit task will not run if you are using the time condition.
Steps to reproduce:
Set profile with time from 1:00pm to 1:05pm
Put any task you want ( I just toggle bluetooth)
Turn phone off at 1:03pm
Wait after 1:05pm then turn it back on
It will not trigger the exit task after your phone starts up past the time.
Here's a similar one with charging state:
Create a profile that triggers when phone is charging.
Set tasks to toggle bluetooth.
Charge the phone (bluetooth should turn on)
Turn off the phone (leaving it plugged in)
Unplug the phone
Turn the phone on
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/hS-bWrOWvDU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/80f0035f-b7a2-4ae5-8729-068d6784c0c5o%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ta...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/64665e67-6cd7-423c-b3b5-07855bc7db21o%40googlegroups.com.


When BtEnter runs. I set a global variable %Bedtime to 1. At the end of the exit task I set it to 0.
Profile: Boot (122) Restore: no Event: Device Boot Enter: Boot (129) Abort Existing Task A1: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ] A2: If [ %PACTIVE !~R Bedtime ] A3: Perform Task [ Name:BtExit Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off Local Variable Passthrough:Off Limit Passthrough To: ] A4: End If To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/ec44ab0f-2f77-4025-b53b-5cc753a30f50o%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ta...@googlegroups.com.

Here is my Run Log screen

Just to clarify, the reason for it not running all actions is probably because the phone is shutting down and Tasker is killed before it has the chance to complete everything
Does this happen on any kind of profile or just timed profiles?
From what I can tell it is with any state profile.
This example happens too. Turn off the phone leaving the cable connected. Unplug it and reboot it. Bluetooth should turn off but it doesn't.
Profile: BT Off When Charging (27)
Restore: no
State: Power [ Source:Any ]
Enter: Anon (28)
A1: Bluetooth [ Set:On ]
Exit: Anon (29)
A1: Bluetooth [ Set:Off ]