How do I map Batch Processor input data to a Rulebase entity?

How do I map Batch Processor input data to a rulebase entity?

When using csv data, by default, the name of a csv file will be mapped to an entity with the same name if one exists; for example, if there is a csv data file called child.csv and the rulebase has an entity with the public name child then rows in the child.csv will be treated as child entity instance. You can explicitly map an csv file or database table to a rulebase entity by specifying a mapping.

Use the xml element <entity> in the configuration file, to specify a mapping with the following attributes:

 

There are also two optional attributes which are as follows:

 

For more information, see Data mapping in the XML configuration file. Also see Zero-configuration conventions for csv input for more information on default mapping of csv data.