You are here: Driver Reference > Pager Driver > Using SMS to Trigger an Action > Issue an SMS Command by Referencing the Action of a Database Item

Issue an SMS Command by Referencing the Action of a Database Item

We recommend that you use a Method Call with an alias to issue SMS commands to ClearSCADA. However, there are also two other techniques you can use to issue SMS commands: you can reference the Execute method of a Method Call (see Issue an SMS Command by Referencing the Execute action of a Method Call) or you can reference the action of a specific database item.

When you reference the action of a specific database item, you need to include the FullName value of the database item, which includes its parent Group(s) as well as its name. You also need to reference the action (method) that is to be triggered, and any parameters for the action. As database items can be nested in your system’s hierarchy, this can mean that the FullName and action reference can exceed the maximum size limit for a single SMS message. If your reference exceeds the maximum limit for an SMS, the reference is sent in parts in several SMS messages (this is called a multi-part SMS message).

Multi-part SMS messages have disadvantages when compared to using a Method Call with an alias:

If, for some reason, you have a need to use a full reference to an action, the following configuration has to be in place:

With the settings described above in place, you can use a full reference to trigger an action remotely via SMS:

  1. On the device that is associated with your user account, create a new SMS message.
  2. Enter the reference to the relevant database item’s action as the content of your SMS message. The SMS message should only contain the characters for the reference and needs to be in this format:
  3. <Database Item Reference>.<Action>(Parameters)

    Where:

    <Database Item Reference> is the FullName value of the database item that has the action that is to be performed. The FullName includes the database item’s parent Group(s) as well as its name. Do not enter the angle brackets < >.

    <Action> is the name of the action that is to be performed. If the action has parameters, you should include them after the <Action> within parentheses in the same way as you would when using an expression. For the action, do not include the angle brackets < >, but you have to include the parentheses for any parameters ( ). For more information on entering parameters, see Grammar for Expressions in the ClearSCADA Guide to Expressions.

  4. Send the message to ClearSCADA.
    When ClearSCADA receives your SMS message via the service provider, it determines which database item and action are referenced in the SMS message. It then executes the action.

ClearSCADA 2015 R2