Eduction Server 25.1
Eduction Server Reference

# PostProcessingDefaultParameters

The name of a configuration section that defines default values for parameters for your Lua post-processing scripts.

This parameter specifies the name of a section in the Eduction Server configuration file that contains default values for parameters to use in your post-processing scripts. You must create this section and add a list of parameter value pairs for the default values.

When Eduction Server calls the post-processing script, if you do not add parameters programatically, Eduction Server adds these default parameters to the Lua user parameters object used by the Lua post-processor. The Lua post-processor respects any session overrides, for example when you use a configuration fragment to update the default parameters.

For example:

    [Eduction]
    PostProcessingDefaultParameters=MyLuaParameters

    [MyLuaParameters]
    Greeting=Hello
    Price=15

This example means that, with no further parameters added programatically, the following Lua post-processing script prints both of these entries passed in `params`:

    function processmatch(edkmatch, params)
       for key, value in pairs(params) do
          print(string.format("%s -> %s", key, value))
       end
       return true
    end

NOTE: The default values that you set apply to all your configured post-processing scripts.

For more information about how to configure post-processing tasks, refer to the Eduction User and Programming Guide.

Type: | String
Default: |
Required: | No
Configuration Section: | Eduction
Example: | `[Eduction] PostProcessingDefaultParameters=MyLuaParameters [MyLuaParameters] Greeting=Hello Price=15`
See Also: | Script Entities ProcessEnMasse

Copyright 2014-2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Eduction Server 25.1

Topic Title: PostProcessingDefaultParameters