With the necessary artifacts in place, you can now create the state
machine, and configure it appropriately.
In this step, you will do the following:
- create a state machine
- create three variables
- add a reference
- specify a correlation property
- Create a new state machine as follows:
- Right-click the BSM_Telco module and
chose from the list.
- In the New Business State Machine wizard,
name the state machine Telco and click Next.
- On the Select an Interface page, chose
the TelcoInterface from the Interface drop
down list.
- From the Operation list, select init.
- From the list of correlation properties list, select and
click Finish.
A new state machine is created, and appears in the editor as shown
in this image:

- Create three variables:
- Click the plus icon (
) in the Variables category and create the
following variables:
Variable name |
Type |
dialedNumber |
string |
telephoneNumber |
string |
dummyBoolean |
boolean |
- Create a reference.
- Click the plus icon (
) in the Reference category and create a reference
called TelcoConnectionService on the TelcoConnectionInterface interface.
- Specify a correlation:
- Rename the Correlation property from Property1 to id.
- Click the plus icon (
) in the Correlation Properties category.
- In the Add Correlation Property dialog,
change the name to id.
- Select string and click OK.
- Specify property aliases as shown in this table:
Operation |
Alias |
offHook |
/id |
onHook |
/id |
digit |
/digit/id |
remoteDisconnect |
/id |
init |
/id |
unplug |
/id |
A new state machine is created.