-
Notifications
You must be signed in to change notification settings - Fork 0
Description
If status = 'Reaberto', it should not trigger the status change message that applies to 'Resolvido', 'Invalido' and 'Arquivado'.
Currently, the user gets two SMS:
- message_id 74990 confirms the status change,
- message_id 74991 sends a status update with the reopen text, which does not apply.
{
"message_id": "74991",
"parent_message_id": "0",
"smpp_message_id": "368f84a",
"to": "111111111",
"from": "MOPA",
"contents": "Caro municipe, o problema 17218418 tem agora o estado Reaberto. O tchova passou por ai na segunda e passara por ai hoje.. Caso discorde responda N a esta SMS",
"created_at": "2017-05-25 10:01:07",
"updated_at": "2017-05-25 10:01:14",
"message_status": "delivered"
},
{
"message_id": "74990",
"parent_message_id": "0",
"smpp_message_id": "368f72b",
"to": "111111111",
"from": "MOPA",
"contents": "Caro municipe, o seu caso 17218418 foi reaberto",
"created_at": "2017-05-25 10:00:31",
"updated_at": "2017-05-25 10:00:36",
"message_status": "delivered"
},