Coder Social home page Coder Social logo

health-form-automation's Introduction

health-form-automation's People

Contributors

ghilman27 avatar

Watchers

James Cloos avatar  avatar

health-form-automation's Issues

Bug: Whatsapp ignore previous messages even though it's an eligible message (after midnight)

Step to reproduce:

  • set cronjob at 4 am with an existing previous message
  • client will response with new message ignoring the existing message (set the name back to 1 again)

Background:

  • First two jobs (8-9 November) was completed without any issues. On 10 November, the issue occurs
  • Has checked to run the function Whatsapp.reportHealthForm() manually. It returns the correct message

Analysis:

  • looking at Whatsapp._fillFormMessage() function, this case can ONLY be possible if formText parameter is undefined. Hence the client failed to find the latest today's form message.

The possible causes:

  1. Client failed to load last group messages Whatsapp.conn.loadMessages() during the scheduled time (4 AM). For this reason, we will try to reschedule the job to after 7 AM. It's the time when the phone is possibly active.
  2. Failed to identify the last message, due to TimeZone issue. For this reason, we will try the same approach as the first possible cause
  3. Changes in the message format. But this is highly unlikely cause we have tested the function and it's working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.