Hi Stephen,
I can see you are using “.” in sms Text. Just make sure that sms commands are created properly. Your sms commands should comply with rules provided in the documentation.
The Command uses a KEY_VALUE_PARSER between data element codes and the values separated by a dot (“.”).
See attached screenshot for a sample command. Is there anything seemingly wrong?
Regards
···
On Thu, Nov 9, 2017 at 1:20 PM, Zubair Asghar Raja zubair@dhis2.org wrote:
Hi Stephen,
I can see you are using “.” in sms Text. Just make sure that sms commands are created properly. Your sms commands should comply with rules provided in the documentation.
The Command uses a KEY_VALUE_PARSER between data element codes and the values separated by a dot (“.”).
See attached screenshot for a sample command. Is there anything seemingly wrong?
Regards
On Thu, Nov 9, 2017 at 1:20 PM, Zubair Asghar Raja zubair@dhis2.org wrote:
Hi Stephen,
I can see you are using “.” in sms Text. Just make sure that sms commands are created properly. Your sms commands should comply with rules provided in the documentation.
We have a number of Keywords (refer to attached list), BUT all the commands seems not to be processed because of an java.lang.ArrayIndexOutOfBoundsException Error
Please see the same issues with an SMS using pmtct command name.
ALSO, we had noted that reimport fucntionality of the received SMS is not working.
Regards
···
On Thu, Nov 9, 2017 at 1:49 PM, Zubair Asghar Raja zubair@dhis2.org wrote:
Yes.
StKA a.24
StKA is supposed to be command name. Whereas in the snapshot I can see it named as PMTCT.
Secondly, Field Separator ( in your case “.” ) cannot be used for assigning values to parameters. You can try this a=24 and I hope it will work.
The Command uses a KEY_VALUE_PARSER between data element codes and the values separated by a dot (“.”).
See attached screenshot for a sample command. Is there anything seemingly wrong?
Regards
On Thu, Nov 9, 2017 at 1:20 PM, Zubair Asghar Raja zubair@dhis2.org wrote:
Hi Stephen,
I can see you are using “.” in sms Text. Just make sure that sms commands are created properly. Your sms commands should comply with rules provided in the documentation.
Following our chat conversion, it seems that the code value separator is missing in DHIS2 2.28 and rather has a field separator which does different things.
Sending PMTCT a=2 seems to work instead of PMTCT a.2 (Our separator)
There is also no option for Code Value separator in the command configurations.
We have a number of Keywords (refer to attached list), BUT all the commands seems not to be processed because of an java.lang.ArrayIndexOutOfBoundsException Error
Please see the same issues with an SMS using pmtct command name.
ALSO, we had noted that reimport fucntionality of the received SMS is not working.
Regards
–
On Thu, Nov 9, 2017 at 1:49 PM, Zubair Asghar Raja zubair@dhis2.org wrote:
Yes.
StKA a.24
StKA is supposed to be command name. Whereas in the snapshot I can see it named as PMTCT.
Secondly, Field Separator ( in your case “.” ) cannot be used for assigning values to parameters. You can try this a=24 and I hope it will work.
The Command uses a KEY_VALUE_PARSER between data element codes and the values separated by a dot (“.”).
See attached screenshot for a sample command. Is there anything seemingly wrong?
Regards
On Thu, Nov 9, 2017 at 1:20 PM, Zubair Asghar Raja zubair@dhis2.org wrote:
Hi Stephen,
I can see you are using “.” in sms Text. Just make sure that sms commands are created properly. Your sms commands should comply with rules provided in the documentation.