as of today and any messages sent or created today will get a similar response message from the server with ... a touched eg Hi will recieve auto Hi.. from he server
Could you please check your API logs for errors or suspicious entries?
Maybe something like:
Transitions are disabled until the above configuration errors are fixed. Error: Transitions are disabled until the above configuration errors are fixed.
To re-run transitions validations, try making any change to your settings document.
made some changes in the transitions by enabling some of them and run cht --url=https://medic:password@192-168-124-70.my.local-ip.co upload-app-settings
Can i be bale to schedule a message to be sent out to a contact ? eg Hello Cliff has patient visited the clinic today for ANC ?
I am looking at the schedules configurations though they seem to be heavily linked to SMS forms in registration, my intetion is just to configure aschedule in the settings document to roll out a message to the clinic ie the primary contact linked to a contact number am using …
Added this object in the schedules of my settings files
I think you can use SMS Reminders. The way reminders work is that the reminder is not sent if the form in the config has been already sent. If you create a reminder with a form that nobody submits, it should work as you desire.
Schedules only work in association the registrations.
i have used fires on the 0th, 10th, 20th, 30th, 40th, and 50th min of every hourtext_expression in the reminders below
"reminders": [
{
"form": "C",
"translation_key": "sms.reminder.c",
"text_expression": "fires on the 0th, 10th, 20th, 30th, 40th, and 50th min of every hour",
"contact_types": [ "health_center", "hospital","person" ]
}
],
Am using C form configured in the settings file though not yet used to send a text report plus the respective translation in the messages-en.properties file sms.reminder.c = PLease be reminded
Not yet sure why the reminder hasn’t been sent to the contact person in the system
I don’t think reminders will get sent to all persons, they get sent to the primary contacts of places.
So you should make sure that:
the contact types you add in your list exist
your places of that type have a contact with a valid phone number
your text_expression is valid. “fires at” should not be part of your expression. Your expressions should be changed like on the 0th, 10th, 20th, 30th, 40th, 50th minute
I’m not sure what you mean by “settings” file. Do you mean the app_settings.json file? Please have a look at how app_settings should be structured: app_settings.json | Community Health Toolkit