You are here: Driver Reference > Pager Driver > Using SMS to Trigger an Action > Issue an SMS Command by Referencing the Execute action of a Method Call

Issue an SMS Command by Referencing the Execute action of a Method Call

Although not the recommend technique for triggering an action via SMS, it is possible for you to trigger an action by referencing the Execute method of a Method Call. When ClearSCADA receives an SMS message that references a Method Call’s Execute method, it will perform the action that is defined in the configuration of the Method Call. For example, let’s say that a Method Call named ‘Point 1 MC’ is associated with the Override action of a point named ‘DBP’. A user then sends an SMS message that references the Execute method of the ‘Point 1 MC’ Method Call. ClearSCADA processes the message and performs the Override action on the ‘DBP’ point, as these are the action and database point associated with the ‘Point 1 MC’ Method Call.

When you reference the Execute action of a Method Call, you need to include the FullName value of the Method Call, which includes its parent Group(s) as well as its name. You also need to reference its Execute action. As Method Calls can be nested in your system’s hierarchy, this can mean that the FullName and Execute 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:

To issue an SMS Command by referencing the Execute action of a Method Call, the following configuration has to be in place:

With the settings described above in place, you can use a reference to a Method Call’s Execute method 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 Method Call’s Execute method as the content of your SMS message. The SMS message should only contain the characters for the reference and has to be in this format:
  3. <Method Call Reference>.Execute()

    Where:

    <Method Call Reference> is the FullName value of the Method Call which includes all of its parent Group(s) as well as its name. Do not enter the angle brackets < >.

  4. Send the message to ClearSCADA.
    When ClearSCADA receives your SMS message via the service provider, it determines which Method Call is referenced in the SMS message. It then executes the action that is defined in the Method Call’s configuration.

ClearSCADA 2015 R2