Section II – Functional Modules > Functional Modules > Action Elements         Bottom of Page
Genesys 8.1
SCXML Technical Reference
< Parameter Elements            Events >

Action Elements

The actions of a functional module will be exposed by a defined XML namespace and elements which can be used in SCXML executable content. The behavior of these actions is somewhat similar to the model of the SCXML <send> element (that is, the action follows an asynchronous request pattern):

Restrictions

The following is a list of restrictions with respect to functional module actions:

Namespace Conventions

The functional module namespaces will be www.genesyslab.com/modules/xxxx , where the xxxx represents the unique name associated with the given functional module.

Genesys Functional Modules

The following is a summary of these namespaces and the element naming template for the Genesys functional modules:

Functional Module

Namespace

Element naming template

Actions implemented

queue

www.genesyslab.com/modules/queue

<queue:xxx>

Queue Action Elements

interaction

www.genesyslab.com/modules/interaction

<ixn:xxx>

Interaction Action Elements, Voice Interaction Action Elements, Msgbased Interaction Action Elements, Chat Interaction Action Elements

dialog

www.genesyslab.com/modules/dialog

<dialog:xxx>

Dialog (Treatment) Action Elements

resource

www.genesyslab.com/modules/resource

<resource:xxx>

Resource Action Elements

statistic

www.genesyslab.com/modules/statistic

<statistic:xxx>

Statistic Action Elements

classification

www.genesyslab.com/modules/classification

<classification:xxx>

Classification Action Elements

session

www.genesyslab.com/modules/session

<session:xxx>

SCXML Extension Action Elements

webapi

www.genesyslab.com/modules/ws

<ws:xxx>

Web API Action Elements

<invoke> Versus Action Elements

The SCXML <invoke> element is not to be used for action elements. As a result, this element has been limited to a target type of SCXML. This has been done for the following the reasons:

Action Elements Used to Change Functional Module Objects

A functional module has three ways it can change the value of a given functional module object or property. One of these ways is through the use of an Action Element. The following is the model that should be used for providing this functionality:




Section II – Functional Modules > Functional Modules > Action Elements         Top of Page
Genesys 8.1
SCXML Technical Reference
< Parameter Elements            Events >