The difference between state context and event context in Tasker

I notice that there are similarities between some of the state context methods and event context methods when creating a Tasker profile. I did a little research on various posts from the internet and this is what i can understand.

State Context Profile
A profile that has state context will be active as long as the context is met. A state context profile will have an enter task and an exit task. When a state context profile becomes active, the enter task will run once and the profile will wait until it becomes inactive back. Once the profile becomes inactive, it will run the exit task.

Any settings change through state context profile will restore to the original settings after profile becomes inactive. This happens even without explicitly restore the settings using exit task.

An exit task can sometimes run before the same profile’s entry task, if that entry task has a Wait action that delays part of the entry task for so long that the profile becomes inactive.

Event Context Profile
A profile that has event context will only be active momentarily to run the attached task once. It will not be continuously be active even though the context is still met. An event context profile does not have exit task.

Any settings change through event context profile will persist after the profile becomes inactive.



Comments

Popular posts from this blog