Problem with evaluating "expression"

Post your questions and help other users.

Moderator: Martin

Post Reply
Glocky79
Posts: 3
Joined: 30 May 2013 09:11

Problem with evaluating "expression"

Post by Glocky79 » 10 Oct 2013 19:32

Good day all, I am very noob at Tasker and am having some troubles with "expression". When I use the "input dialog" - single choice, and input my list values separated with a comma, the value will work on the first value evaluation but if it's false when it moves to the next expression it stops. I have tried "value==" variable" and value== "variable". I have used the debug dialog and the value seems to be passed on, but I still can't get it to move passed that second evaluation. I am posting an example. Thanks for any help.
Attachments
exported_data_20131010_122126.xml
(3.44 KiB) Downloaded 796 times
exported_data_20131010_122033.xml
(3.97 KiB) Downloaded 757 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Problem with evaluating "expression"

Post by Martin » 10 Oct 2013 20:21

Hi,

There are some blanks before and after the value Disconnect in the input dialog.
The variable value will therefore contain " Disconnect " when you select the second option in the dialog.

It's probably the same problem in your second flow. Just remove all the blanks in Pandora, PowerAmp, Cancel.
Variables are case sensitive, variable Value won't work. The condition Expression in the second flow should look like this: value=="Pandora".

Regards,
Martin

Glocky79
Posts: 3
Joined: 30 May 2013 09:11

Re: Problem with evaluating "expression"

Post by Glocky79 » 10 Oct 2013 22:27

Thank you for the help, I can't believe I missed the cap "V" and didn't know about the spaces. You are sure to see more of my ?? moments. :D

Post Reply