Skip to main content

Reference

 

OutSystems

Invalid SMS Command Error

The Invalid SMS Command error is issued when the rules of the SMS command pattern language are being violated. Examples of invalid commands:

  • <sentence> symbol must be the last symbol in a SMS command

    You have a Send Message, Wait Message, or Start iSMS element that has the <sentence> symbol followed by another symbol. For example, this SMS command is invalid: <sentence> <word>.

    Edit the SMS commands of this element and change the command in order to have the <sentence> symbol at the end of the command.

  • <sentence> must be the last SMS command in <element>

    You have a Send Message, Wait Message, or Start iSMS element that has the <sentence> command in the middle of the list of commands.

    Edit the SMS commands of this element and move the <sentence> command to the bottom of the list of commands. Since this symbol matches with any characters provided by the end-user, it must be the last command to be evaluated.

  • | (or) can only appear between keyword aliases in <SMS command>

    You have a vertical bar ('|') in a Send Message, Wait Message, or Start iSMS element, that is separating symbols that are not keywords. According to the SMS Command Pattern language used by Service Studio, the '|' symbol can only be used to separate keywords.

    Edit the SMS commands of this element and change the command that is using the '|' symbol, using only keywords in this command.

  • Invalid regular expression (<expression>) in <SMS command>

    You have a regular expression in a Send Message, Wait Message, or Start iSMS element that does not follow the regular expression language.

    Go to the Microsoft site and check the regular expression language. Edit the SMS commands of the element and fix the regular expression being used.

  • Invalid syntax in <SMS command>

    You have a Send Message, Wait Message, or Start iSMS element with an invalid command.

    Edit the SMS commands of this element and check the syntax of the command.

  • Invalid <site property> site property symbol in <SMS command>

    You have an SMS command, in a Send Message, Wait Message, or Start iSMS element that is using an invalid site property.

    Edit the SMS commands of this element and check the Site Properties used by this command.

Double-click on the error line to take you directly to the respective SMS Command Editor.

  • Was this article helpful?