Decision table management by using APIs

This sample demonstrates how to manage decision tables in Decision Center by using APIs.

Time required

20 minutes

Prerequisites

You must have Decision Center installed to use this sample.

Check that the sample server is started before using this sample. For more information about starting the sample server, see Starting and stopping the sample server.

Description

This sample shows how to create, copy, delete and populate decision tables in Decision Center. You populate the decision table model with values that come from a set of customized data providers, including:

  • File provider, which stores data in a CSV file

  • Excel provider, which stores data in an Excel file

  • Database provider, which stores data in a database

The key features of this sample include:

  • Publish a project to Decision Center by using Ant

  • Create a decision table in the project

  • Copy the decision table to another rule package in the project

  • Delete the decision table in the original package

  • Populate a decision table from a CSV file

  • Populate a decision table from a database

  • Populate a decision table from an Excel file