SM/UDP Command Line Interface step
-
Click SM/UDP Command Line Interface to add the SM/UDP Command Line Interface step to your automation.
-
Click the header to enter a name for the step.
-
Type the Command Line Message(s) that should be executed at the command line as part of this automation.
-
For Max Response Size, type the maximum number of datagrams that the response can contain.
-
Click </>.
-
Click to return to edit mode.
Conditional processing
You can optionally set conditions that will determine whether this step should be executed.
-
Click to expand Conditional .
-
Click Query condition.
A menu with a list available conditional query options displays.
-
Select an option, type a value, and click .
-
Comparison operators control conditional matching. Click the comparison operator to open a menu to select a different operator.
-
Click in the Query condition text box again to add additional query options.
-
By default, the step will run if the query conditions are met, and will be skipped if the conditions are not met. To change the default behavior:
-
Click Then Run, Otherwise Skip >.
-
For Then, click to select an action to be performed when the query conditions are met:
-
If Goto step is selected, click Select a step name... and select the name of the step.
Note To use the Goto step functionality, you must enter a name for steps during configuration of the step.
-
(Optional) If Exit, Abort, or Skip are selected, for Optional reason, type a message that will appear in the run details.
-
-
For Otherwise, click to select an action to be performed when the query conditions are not met.
-
-
Comparison operators
Operator | Matches if the current value of the query option... |
---|---|
contains | Contains the value entered in the Query condition text box. |
< | Is less than the value entered in the Query condition text box. |
<= | is less than or equal to the value entered in the Query condition text box. |
<> | Does not equal the value entered in the Query condition text box. |
= | Equals the value entered in the Query condition text box. |
> | Is greater than the value entered in the Query condition text box. |
>= | is greater than or equal to the value entered in the Query condition text box. |
endswith | Ends with the value entered in the Query condition text box. |
startswith | Begins with the value entered in the Query condition text box. |
Error processing and post-processing
Advanced Options allow you to configure what actions to take when the step produces an error, and what actions to take when the step has completed successfully.
-
Click Advanced Options.
-
Enable Wait if Offline to allow this step to be queued while the device is offline and completed the next time it connects. Any actions that can be taken while the device is offline, will still be taken.
-
Click On Error to select what should happen when the step produces an error:
-
End: The automation will end when this step produces an error.
-
Continue: The automation will proceed to the next step when this step produces an error.
-
Retry: The automation will retry the step when it produces an error.
-
Select the number of times to retry the step. If the step does not succeed within the selected number of times, the automation will end.
-
-
-
Enable On End to select an action that should happen when the step ends:
-
Select whether the on end action should take place Always, When successful, or When errored.
-
Select an action, either:
-
Goto step: click Select a step name... and select the name of the step.
Note To use the Goto step functionality, you must enter a name for steps during configuration of the step.
-
Exit
-
Abort
-
-