Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identifying users who aren't actively entering data #825

Open
Tracked by #1680
mahalakshme opened this issue Dec 5, 2024 · 0 comments
Open
Tracked by #1680

Identifying users who aren't actively entering data #825

mahalakshme opened this issue Dec 5, 2024 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Dec 5, 2024

Requirement:

To figure out the users who have not entered the data for past 5 days.

AC:

  • Have a ETL/integration service job to identify the users who meet all the following criteria:
    - Didn't enter/edit any registrations or encounters in the past 5 days
    - The number of days should be configurable easily
    - Should belong to 'Primary Users' user group
    - Should not consider users who have completed endline for all the work orders in their catchment
  • Store the users identified above in some ETL/some table temporarily(Needed just for testability)

Technical suggestions:

  • Option 1: integration service that executes custom query to figure out the users.
  • Option 2: ETL bg job that uses ETL tables to figure out the users
  • Option 3: ETL bg job that uses custom query to figure out the users

Approaches discarded because of complexity or suitability: Background job in Avni, Using Avni APIs, Dalgo

Independent of the approach followed, the same ETL and integration service should be usable in Avni as well without forking.

Out of scope:

Sending messages to such users using Glific.

Inputs:

  • int., service access to ETL database?
  • window to not send msg again - 1 day - run every 10 mins
    • report - to whom sent/failed message
    • job monitoring
  • /executeQuery?
  • add spike
  • add 30 percent estimate
@mahalakshme mahalakshme converted this from a draft issue Dec 5, 2024
@mahalakshme mahalakshme moved this from In Analysis to In Analysis Review in Avni Product Dec 12, 2024
@mahalakshme mahalakshme changed the title Send Gliffic message for non-entries Identifying users who didn't enter the data Dec 12, 2024
@mahalakshme mahalakshme changed the title Identifying users who didn't enter the data Identifying users who aren't actively entering data Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Analysis Review
Development

No branches or pull requests

1 participant