To open a interceptor diagram, double-click on the interceptor’s icon in the SIS View interceptor list.
Below is an example of a freshly created interceptor diagram, plus details on the variable manipulators, condition (branching), and halt elements.
The control flow:
starts at the interceptor start element. From here you connect to other elements (Condition, Assign, Delete and so on) using the connect link from the palette. The connect link defines a next statement relation. You use it to specify the sequence of script statements in the interceptor.
ends at the interceptor end element.
Below is an example of a freshly created interceptor. It includes a start node (top) and an end node (bottom).
Variable manipulator elements (assign, delete)
Through the assign element, a variable can be set to:
a specific value
the value of any other existing variable
a complex variable type (such as a
the result of a string-manipulation function (such as a substring or string-length).
Through the the delete element, an existing variable can be "unset".
Condition (branching) element
The Condition element represents a conditional selection within the composition’s flow chart logic. It has two outgoing connections:
<true>— followed if the condition evaluates to
true(created using the if-true link from the palette)
<false>— followed if the condition evaluates to
false(created using the if-false link from the palette).
To edit a
Halt elements allow you to stop the interceptor at any point during the script run. After encountering a halt, the SIS will evaluate no more interceptors instructions, and proceed to the interceptor end.
For SIP, a halt element can be configured with a failure response, indicating what shall be sent to the network.
|Halt elements cannot have an outgoing connection to another diagram element, as they represent terminals of the invocation chain.|