Open topic with navigation

# Configure Action Parameters

For task, module, and language configurations, you can define the configuration parameters as a variable of the form:

    ConfigParam=$params.ActionParam

where:

`ConfigParam` | is the name of the configuration parameter set by the value of the action parameter.
`ActionParam` | is the name of the action parameter.

For example, in the `wav` module, you can set the `WavFile` configuration parameter to the name of an action parameter.

    WavFile=$params.WavFile

If you configure a `WavRead` task that uses the `wav` module, you can then send an `AddTask` action to create a new `WavRead` task.

    http://localhost:13000/action=AddTask&Type=WavRead&WavFile=Speech.wav

The `WavFile` parameter in this action sets the `WavFile` configuration parameter in the `[wav]` module configuration section to `Speech.wav` for the duration of the task.

Action parameter names have the following restrictions.

- Action parameter names can contain only the characters `A–Z`, `a–z`, `0–9`, and underscore (`_`).
- Parameter names must not start with a numerical value (for example, `Param1` is valid, but `1Param` is not).

You cannot use the following reserved names as new action parameters:

- `Token`
- `TempDir`
- `CustomLmDir`
- `Type`

You can use these names in a configuration parameter (for example `$params.Token`), where they take on the following predefined values.

`Token` | The current task token.
`TempDir` | The temporary directory.
`CustomLmDir` | The custom language model directory.
`Type` | The type of task as specified in the `AddTask` action.

© 2015-2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm