Script Block
Contents
Script block is used to write custom ECMAScript code and VoiceXML code. The Script block has the following properties:
Name Property
Click under Value and enter the block name. Composer will use the name to identify the block in the diagram and as the state name in the code.
Block Notes Property
Find this property's details under Common Properties.
Exceptions Property
Use to configure the exception nodes, with each port being hooked up to an event configured by you and selectable using Add Custom Event. Find this property's details under Common Properties.
Condition Property
Find this property's details under Common Properties.
Logging Details Property
Find this property's details under Common Properties.
Log Level Property
Find this property's details under Common Properties.
Enable Status Property
Find this property's details under Common Properties.
Script Property
Click under Value to open ExpressionBuilder where you can enter the code.