AutoNotification Autonotification reply not working

Discussion in 'AutoApps' started by André Barros, Mar 24, 2018.

  1. André Barros

    André Barros New Member

    Joined:
    Jul 13, 2017
    Messages:
    8
    Likes Received:
    0
    I have a series of profiles that I use to take reports from Gmail and send when requested to whatsapp, slack and hangouts.

    But in the past 1 or 2 weeks all profiles stopped sending messages. I made a lot of tests and everything works fine, except the "autonotification reply".

    Any guess on how to solve this issue?

    -- EDIT

    Just found the problem at the Auto Notification log. This error happens when the autoreply is activated:

    "Intercepted action not performed. The tasker variable %anreplyaction doesn't have a value"

    But I always used this variable, and still can't find a way to solve this.
     
    Last edited: Mar 24, 2018
  2. Julio Cyrino

    Julio Cyrino New Member

    Joined:
    Mar 27, 2018
    Messages:
    11
    Likes Received:
    0
    Me too i have same problem!
     
  3. Julio Cyrino

    Julio Cyrino New Member

    Joined:
    Mar 27, 2018
    Messages:
    11
    Likes Received:
    0
    Hi here is the code thats dont work as well and i dont know how to made the reply action work on whatsapp...
    Sorry for my ugly englesh... i come from brazil :)
    Code (Text):
    Profile: Whatts Responder (4)
        Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
    Persistency Type: Both
    Has Reply Action: true
    Notification Apps: WhatsApp
    Get All Fields : true ]
    Enter: Jarvis Wathsapp (9)
        A1: Wait [ MS:0 Seconds:2 Minutes:0 Hours:0 Days:0 ]
        A2: Say [ Text:Julio, %antitle mandou uma mensagem do whatsapp. Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A3: Say [ Text:Tu quer ouvir a mensagem? Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A4: Get Voice [ Title: Language Model:Free Form Language:pt-BR Maximum Results:1 Timeout (Seconds):30 ]
        A5: Say [ Text:Tu que manda vermaum Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ] If [ %VOICE ~ não ]
        A6: If [ %VOICE !~ não ]
        A7: Say [ Text:Ta bom, a mensagem de %antitle é %antext Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A8: Say [ Text:Vermaum, tu quer que eu responda pra %antitle ? Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A9: Get Voice [ Title: Language Model:Free Form Language:pt-BR Maximum Results:1 Timeout (Seconds):30 ]
        A10: Say [ Text:Tá certo, vou ignorar a mensagem de %antitle Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ] If [ %VOICE !~ sim ]
        A11: If [ %VOICE ~ sim ]
        A12: Say [ Text:Tá bom! Qual a mensagem pra %antitle ? Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A13: Get Voice [ Title: Language Model:Free Form Language:pt-BR Maximum Results:1 Timeout (Seconds):30 ]
        A14: Variable Set [ Name:%mensagem To:%VOICE Recurse Variables:Off Do Maths:Off Append:Off ]
        A15: Say [ Text:%mensagem está bom? Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A16: Get Voice [ Title: Language Model:Free Form Language: Maximum Results:1 Timeout (Seconds):30 ]
        A17: If [ %VOICE !~ não ]
        A18: AutoNotification Reply [ Configuration:Reply ID: %anreplyaction
    Reply Text: %VOICE Timeout (Seconds):0 ]
        A19: Say [ Text:A mensagem foi enviada! Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A20: Else
        A21: Say [ Text:Mensagem Descartada Engine:Voice:default:default Stream:5 Pitch:4 Speed:8 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
        A22: End If
        A23: End If
        A24: End If
     
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you please let me know if this only happens for Whatsapp and not all other messaging apps? thanks!
     
  5. André Barros

    André Barros New Member

    Joined:
    Jul 13, 2017
    Messages:
    8
    Likes Received:
    0
    Sorry for taking so much time to reply.

    It was happening only for Whatsapp (Hangouts and Slack were fine). But for some reason without changing anything, it started working again for Whatsapp last friday.

    I really don't know why this variable stopped and why it came back.
     
  6. Julio Cyrino

    Julio Cyrino New Member

    Joined:
    Mar 27, 2018
    Messages:
    11
    Likes Received:
    0
    Hi, I was doing some tests and now it started working! better yet ... but anyway thank you!
     
  7. netyaco

    netyaco New Member

    Joined:
    Apr 16, 2016
    Messages:
    7
    Likes Received:
    0
    Hi. Sorry for re-open this thread, but I didn't find an answer. I have a profile that works fine with Autonotification reply for Telegram on my S7 with specific text in message, but the same profile on Nexus 5 not work. The problem is when I check %antext. This check it's OK and find the text, but not reply. But... If I not check the text (just check the app name), reply all the messages. Just not work if I try to check specific text.

    Any idea?

    PD: Sorry for my english, but I hope I explain a little.

    Edit: Here is my task --> https://taskernet.com/shares/?user=...zbYnHVC/+o=&id=Profile:Autoresponder+Telegram

    Thanks and regards!
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you try enabling the Has Reply Action option?
     
  9. netyaco

    netyaco New Member

    Joined:
    Apr 16, 2016
    Messages:
    7
    Likes Received:
    0
    Hi João. I tried to enable it, but still not working. It's strange because the same profile with the same configuration and options works on my S7. I look all the options and permissions, but I didn't find any solution. Maybe the Android version is the key.

    Thanks anyway for your suggestion, and I'll try to found a solution :)

    Regards!
     
  10. netyaco

    netyaco New Member

    Joined:
    Apr 16, 2016
    Messages:
    7
    Likes Received:
    0
    Hi again.

    I think I found the solution. For some reason, I need to compare the %antext with a "Matches regex" (~R) in the "AN Reply" action. If I use only "Match" (~) or "Equals" (EQ), not works fine. This is not necessary to compare the same %antext variable in the other "if" statements because I still use a Match option in other points. So, to compare text into "Reply" action, select the option "Matches regex" and it works. For me at least :)

    I hope this helps to others with the same problem.

    Regards!
     

Share This Page