• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Tasker - Why is it that on some tasks I can't

MsL

Well-Known Member
create an end task.

I have one task that for important texts. My Context is event: Received SMS.

Task: Silent Mode off when SMS is received from 2 people.
Task: Ringer Volume at 3 when SMS is received from 2 people.

I use this task is relation to my work day task which has my phone one vibrate. My problem is that I want to create an end task so that after I receive the text the phone will go back on vibrate. As of right now it will not kick back to vibrate unless I go into tasker.

I also have an important people phone call set up and with that I can set an end task and my phone goes back to vibrate once the call is over.
 
events don't have end tasks because they are instantaneous. the event happens (screen on, sms recieved etc), and the task runs. there's no exit task because there's nothing to exit from.
 
If what you have is working, then jackgibbs is right - all you really need is to go back to the way it was before the SMS came in. If you want the settings to revert to whatever they were before, you can do this:

Context: Received Text [Sender: <list of senders>]
Task: Variable Set %PRIORITYSMS = 1

Context: Variable Value %PRIORITYSMS = 1
Enter Task:
Silent Mode off when SMS is received from 2 people.
Ringer Volume at 3 when SMS is received from 2 people.
Variable Clear %PRIORITYSMS

When a text is received from a listed sender, %PRIORITYSMS is set to 1, which activates the Variable Value state in the second profile. The Enter Task of this profile is the same as what you were doing before, but it's now tied to a state instead of an event. The Enter Task has one additional entry, which clears the state, causing the profile to exit, and restore the settings to their previous values.

The potential problem with this is it might take too long to execute, and your notifications may happen before the settings are actually changed. If that happens, let me know, because there's a more convoluted what to do this that will avoid this problem.
 
I am just getting around to playing with this but I'm a little lost.

For the second Context am I making a completely new task because when I try to add to the PrioritySMS context I can't add an event, but when I try to make a complete new task and I go to event Variable I only see clear and set. I'm not sure what I am suppose to be doing.

I hope that makes sense as I know sometimes I don't :-).

Thanks for your help!

If what you have is working, then jackgibbs is right - all you really need is to go back to the way it was before the SMS came in. If you want the settings to revert to whatever they were before, you can do this:

Context: Received Text [Sender: <list of senders>]
Task: Variable Set %PRIORITYSMS = 1

Context: Variable Value %PRIORITYSMS = 1
Enter Task:
Silent Mode off when SMS is received from 2 people.
Ringer Volume at 3 when SMS is received from 2 people.
Variable Clear %PRIORITYSMS

When a text is received from a listed sender, %PRIORITYSMS is set to 1, which activates the Variable Value state in the second profile. The Enter Task of this profile is the same as what you were doing before, but it's now tied to a state instead of an event. The Enter Task has one additional entry, which clears the state, causing the profile to exit, and restore the settings to their previous values.

The potential problem with this is it might take too long to execute, and your notifications may happen before the settings are actually changed. If that happens, let me know, because there's a more convoluted what to do this that will avoid this problem.
 
I am just getting around to playing with this but I'm a little lost.

For the second Context am I making a completely new task because when I try to add to the PrioritySMS context I can't add an event, but when I try to make a complete new task and I go to event Variable I only see clear and set. I'm not sure what I am suppose to be doing.

I hope that makes sense as I know sometimes I don't :-).

Thanks for your help!

Sorry... that could have been clearer. Yes, those are two separate profiles. The Variable Value context is a State, not an Event. I hope that helps.
 
Ok I just tried just as you stated and the ring tone rung though but after the text it didn't go back to my work day profile which is vibrate.

Any suggestions.

Thank you

Sorry... that could have been clearer. Yes, those are two separate profiles. The Variable Value context is a State, not an Event. I hope that helps.
 
I think I'd just do something like this:

Context, Event-> received text (2 people):
Silent mode off
Ringer volume 12 (or w/e number you want)
wait 15 seconds
silent mode Vibrate

Context, Event-> received text (3 people):
Silent Mode off
ringer volume 3
wait 15 seconds
silent mode vibrate
 
Ok I just tried just as you stated and the ring tone rung though but after the text it didn't go back to my work day profile which is vibrate.

Any suggestions.

Thank you

Are you saying that the work day profile is no longer active, or that the vibrate setting is not restored even though the profile is still active?
 
The work day profile is no longer active, once my son texted me. Also the Variable Value says active in task, is it suppose to.

Are you saying that the work day profile is no longer active, or that the vibrate setting is not restored even though the profile is still active?
 
I think I may have found the problem. I realized that I still had my orginally propriety text profile active and that may had caused my work day profile not to return. Once the boy texts me today I will see if that was the problem.

I have another question. How do I override a profile. EX: When I plug my phone into power either USB or plug my bluetooth comes on, Wi-Fi comes on and I get a pop up asking what music app I would like to listen to. That's fine in the car but when I'm at work and at home I don't want all of that to happen. How do I create a profile to say don't do this at this time and point.
 
I spoke to quickly, the "boy" texted me this morning and it didn't ring nor vibrate. The text was just there. No sure what to do now

I think I may have found the problem. I realized that I still had my orginally propriety text profile active and that may had caused my work day profile not to return. Once the boy texts me today I will see if that was the problem.

I have another question. How do I override a profile. EX: When I plug my phone into power either USB or plug my bluetooth comes on, Wi-Fi comes on and I get a pop up asking what music app I would like to listen to. That's fine in the car but when I'm at work and at home I don't want all of that to happen. How do I create a profile to say don't do this at this time and point.
 
I think I may have found the problem. I realized that I still had my orginally propriety text profile active and that may had caused my work day profile not to return. Once the boy texts me today I will see if that was the problem.

I have another question. How do I override a profile. EX: When I plug my phone into power either USB or plug my bluetooth comes on, Wi-Fi comes on and I get a pop up asking what music app I would like to listen to. That's fine in the car but when I'm at work and at home I don't want all of that to happen. How do I create a profile to say don't do this at this time and point.

A location context could determine if you're at home or at work, but probably not accurately enough to distinguish between in the car at home vs. in the house at home. If you have a bluetooth device in the car that's normally off if the ignition is off, then you could use Bluetooth Connected as a context for the popup, so you would have something like:

Profile: Power AC or USB
Context: Power Any
Enter Task:
Bluetooth On
Wifi On


Profile: Music Popup
Context: Bluetooth Connected <optional device>
Enter Task:
<your popup menu>
 
I spoke to quickly, the "boy" texted me this morning and it didn't ring nor vibrate. The text was just there. No sure what to do now

Can you post the other profiles? Without seeing it/them it's hard to say what's going on.
 
Back
Top Bottom