Example: Create and Deploy Expert System Using Offline Template

This example shows the end-to-end process of creating a new expert system, exporting it to a template and importing it in the destination database.

Procedure

  1. Open the source database and from the menu, navigate to Database ‣ Expert Systems...

  2. Create the new expert system.

    1. Choose Add one.

    2. Enter a name that identifies the expert system, the name of the owner, and in the Comments field, provide a brief description about the purpose and content of the expert system configuration two.

    3. Click OK to save the expert system three.

    _images/example.expert_system.add.png
  3. Add elements to the expert system as required.

    1. Select the new expert system from the Expert Systems dialog one.

    2. click Edit two.

    3. Select the elements you want to include in the expert system either on the Asset Type or the Advanced tabs three.

    4. Click OK to save the expert system four.

    _images/example.expert_system.add.elements.png
  4. Add a version to the expert system.

    1. Select the expert system from the Expert Systems dialog one.

    2. In the bottom part of the dialog, under Versions, choose Add two.

    3. Enter a description for this version in the Comments field. The date and version number is auto-populated three.

    4. Click OK to save the version four.

    _images/example.expert_system.add.version.png
  5. Save the created expert system version into an offline template.

    1. In the Expert Systems dialog, under Versions, click Save Template.

    2. Select the destination folder where you want to save the template and enter the name of the expert system. Keep the extension as *.expertsystem.

    3. Click Save.

    _images/example.expert_system.save.template.png
  6. Open the destination database and navigate to Database ‣ Expert Systems.. from the menu.

  7. In the Expert Systems dialog, click Import ‣ Template File...

    _images/example.expert_system.import.template.png
  8. Navigate to the expert systems file that you want to import.

  9. Click Open.

    Result

    NEXUS retrieves the configuration template and makes the required changes in the destination database. It applies all the new or changed elements but it does not touch elements that are unchanged or exist in your database additionally.

  10. Close and reopen the database for the changes to take effect.