This section illustrates all the steps to create a Solution View, configure a rule and trigger it in Action Manager. It is assumed that IBM TDI is installed along with AMC. The configuration SampleConfig.xml used in this example is the one that you are supposed to create following the tutorial in the IBM TDI V7.1 Getting Started, "Introducing IBM TDI" -> "Create our first AssemblyLine". It should be copied into the TDI_install_dir/configs folder, where TDI_install_dir is the installation directory of TDI. This solution reads data from the ‘examples/Tutorial/People.csv' file and writes it to ‘examples/Tutorial/Output.xml'.
This section illustrates all the steps to create a config view, configure rules, and trigger this rule in Action Manager. It is assumed that TDI is installed along with AMC. The sample config (SampleConfig.xml) and associated files are available in the downloads section and should be copied into the TDI_install_dir/configs folder. This solution reads data from the sample.csv file and writes to sample.xml.
Steps
Select the SampleConfig.xml file and click the Load button.
Add a suitable name for the config, for example, SampleSolutionView. On selecting OK, a message indicating that the Solution View SampleSolutionView was created successfully will be shown.
Enter a name, for example "rule 1". Select trigger type "On AssemblyLine termination" and click the Add button in the Configured Actions section.
In the Select Action panel, select the "Write to log" option in the Action Type combo box. Add the text "data copied to out.xml" in the Message text box and click OK. The following rule panel will be shown.
Clicking OK completes the creation of this rule and the AMC configuration required for this example.
On AMC, the Action Manager logs table on the Solution View Details panel will be shown as below.