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 `audio` module, you can set the `File` configuration parameter to the name of an action parameter.

    File=$params.File

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

    http://localhost:15000/action=AddTask&Type=WavRead&File=Speech.wav

The `File` parameter in this action sets the `File` configuration parameter in the `[audio]` 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-2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm