Show TOC Start of Content Area

Background documentation Black Service Component  Locate the document in its SAP Library structure

A Black Service Component is a non-voice component that can access back ends. You can reference a Service Component from your voice model and edit it in place using the complete set data manipulation operators.

Note

When working with Service Components, connecting lines represent the flow of data, as in other Visual Composer models, instead of representing the call flow as is usually the case in the Voice Kit. Data is passed in and out of modules through a parameter passing mechanism.

Service Icons

Compose Details

Compose Icons

Design Board

-

-

This graphic is explained in the accompanying text

Fields

Field

Type

Values

Default

Name

Text entry field

-

-

Example

If a fetchaudio prompt is defined in the application settings, you need to add a child <audio>element inside the script object that calls the Service Component, when you render the script element representing it:

<script name="setvar" scriptType="vcscript">

     <value><![CDATA[execute_data_service]]></value>

     <parameterSet>

         <item alias="_ENV_driver" object="#System:Driver"/>

         <item alias="_ENV_ani" object="#System:ANI"/>

         <item alias="_ENV_dnis" object="#System:DNIS"/>

     </parameterSet>

     <audio audioFileExtension="WAV" file="fetchaudio_1"

          location="#prompts"/>

</script>

Basically, when you create the Vcscript item for the element, you just add the <audio> to it, taking the filename and resource target from the application properties. For the Audio File Extension, use the setting from the resource target.

For more information, see Handling Data Services.

 

End of Content Area