← Back to team overview

dhis2-users team mailing list archive

Re: Notification - Deadline for data set submission

 

Hi Paulo,

sorry not at the moment.

However, messaging is exposed through the web API, so you could do
something like this:

- create a SQL view which gives you the ids of the users who have not
completed the form this month, using some clever SQL which joins
completedatasetregistration, organisationunit and user.

- set up a script which retrieves that sql view as json, parses it and uses
cURL to request the web api to dispatch messages to those user with a
descriptive message.

- run that script as a cron job, lets say two days before the dealine every
month.


See here for messaging api docs:

http://dhis2.org/doc/snapshot/en/user/html/ch25s11.html

And here for sql view api docs:

http://dhis2.org/doc/snapshot/en/user/html/ch25s17.html

regards,

Lars

Follow ups

References