Python Processing Agent Configuration - Batch

The Python processing agent configuration consists of two tabs: General and MIM.

General Tab

The General tab consists of three different sections: Python code for the consume block, input/output UDR types, and Interpreter configuration.

The Python processing agent configuration - General tab

 

Setting

Description

Setting

Description

Code Area

This is the text area where you enter your code, see Python Writer's Guide for further information. The entered code will be color-coded depending on the code type, and for input assistance, a pop-up menu is available. Below the text area, there are line, column, and position indicators. See Python Code Editor Assistance.

Input Types

Enables selection of UDR Types. One or several UDR Types that the agent expects to receive may be selected.

Set To Input

Automatically selects the UDR Type distributed by the previous agent.

Output Types

Select which output types you want to have.

Output Routes

Enter the routes you want each output type to be sent out on.

Interpreter

Select which https://infozone.atlassian.net/wiki/x/gx5hAQ you want to use. If no selection is made the interpreter that has been set as default in the https://infozone.atlassian.net/wiki/x/rQhjAQ will be used.

MIM Tab

In the MIM tab, you can set the MIMs that you want the Python processing agent to publish.

The Python processing agent configuration  - MIM tab

 

Column

Description

Column

Description

Assigned

Select when the MIM resource is assigned a value. Can be any one of the following:

  • batch - Value is assigned from the consume block.

  • header - Value is assigned in the beginBatch block.

  • trailer - Value is assigned in the endBatch block.

  • global - Value is assigned from any block.

Name

Enter the MIM resource name.

Type

Select the data type of MIM resource.