Use this task to read all IN Groupe report files from a folder and update any cards found inside.
To use this task, configure the following delegate expression in your service task:
The following parameters can be configured in Identity Manager Admin:
|InputFolder||C:\Input||The folder which contains all the XML files.|
|ImportedFolder||C:\Imported||The folder which stores already imported XML files.|
|ProblemFolder||C:\Problem||The folder which contains XML files that could not be imported.|
|C:\import_mapping.properties||The absolute path to the mapping file.|
|UniqueFieldName||Card_CardNumber||The name of the field by which each card can be identified.|
The name of the field that references a map, containing all the available mappings between a request status and a card status.
Note: The card status values must be present in the state graph, and the transitions from one state to another must be valid.
The configuration file is needed for Identity Manager to know, which field of the IN Groupe report schema should be mapped with the corresponding value from the core object. The configuration file has to be formatted as a .properties file.
To set the value of a tag, you specify the type name of the parent tag and the tag you want to modify (EntRecType_unRef in the example below). And, on the right side of the equals we have the datapool and the field where the value needs to be written (Card_UniqueReference in the example below).
|title||Example: Set a value of a tag|
EntRecType_unRef = Card_UniqueReference
In the import mapping you also have constructs referring to complex objects from a list. To set the "reference" attribute that is needed for, for example, "InfoType", configure as follows:
|title||Example: Set reference attribute|
InfoType|Serial_Number_CT = Card_CardNumber
The left part of the "|" symbol shows the "InfoType" tag, which is a list containing some complex objects. The right part of the "|" symbol identifies which complex objects you will take the value from, for example "Serial_Number_CT". The value will then be added to the "CardNumber" field of the Card datapool.