When you create a profile in Tasker, it will run a task as soon as all of the conditions in your profile are met. But what happens when the profile's conditions stop being met? By default, nothing will happen, but if you create an exit task, the automation tool will run that instead.
Exit tasks are just like regular tasks, but they will only run when the rules you defined in your profile are no longer in effect. Think of it this way: If you tell Tasker to make your device run a task when you receive a phone call, you could also have it run an exit task when you hang up.
Adding an exit task is a fairly simple process, but it's one that made Tasker finally "click" for me. So if you'd like to learn more about one of the most basic, yet most important features of Tasker, I'll show you how exit tasks work below.
I'm of the opinion that it's usually best to create your tasks before doing anything else in Tasker. Since tasks are what you want your phone to do, you probably have a rough outline of each step in your task already. Profiles, on the other hand, represent when (or why) you want Tasker to run your task, so they're somewhat secondary. Therefore, "task, then profile" is a logical order, particularly for beginners. The same can be said for exit tasks.
Most exit tasks will essentially accomplish one thing: Putting everything back to normal. For instance, if your initial task turned Wi-Fi off when you left home, your exit task would turn it back on when you got back to the house.
Aside from that, the actual process of creating an exit task is exactly the same as it was for creating your initial task. If you need to brush up on that, we've covered the entire undertaking with a separate guide, so check it out at the link below.
Once you've got your tasks in order, you'll need to create a profile that triggers them. Profiles, of course, are a set of conditions that must be met before your tasks will run. When creating a profile, you'll be prompted to associate a task with it — this is the primary task, not the exit task. In other words, the task that will run when your profile's conditions are true.
So before you can add an exit task (i.e., the task that will run when your profile's conditions are false), you'll need to have a profile associated with your first task. If you need help on that front, make sure to hit up the following link.
Now it's time to get down to business. From Tasker's Profiles tab, locate the profile you'd like to add an exit task to. If it only shows the name of the profile, tap the name to expand it and view more details.
From here, long press the task portion of your profile (the text to the right). When you do that, a menu will appear — pick "Add Exit Task" here. At this point, you can choose the exit task you created in Step 1, or if you opted to skip that step, you can tap "New Task" to create the exit task at this point. But if your exit task already exists, simply select it from the popup menu.
Now if you take a look at your full profile, you'll see how it all works. Beneath the title on the left, you'll see the name of your profile. If you tap this portion, it will show the conditions you set that will trigger your primary task.
The primary task is shown beneath the title on the right with a green arrow next to it — this is what Tasker will do when your profile's conditions are being met. But when those conditions stop being met, your exit task will run, which is the task with a red arrow next to it.
What are you using exit tasks to accomplish? Have you created any cool Tasker profiles that you'd like to share? Let us know in the comment section below.
Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.