Jump to: navigation, search

Script Block

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.

ScriptBlock.png

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 7 November 2016, at 10:48.