Red Hat Training

A Red Hat training course is available for Red Hat Process Automation Manager

Chapter 6. Uploading decision tables

After you define your rules in an external XLS or XLSX file, you can upload the file as a decision table in your project in Business Central.

Important

You should typically upload only one decision table spreadsheet, containing all necessary RuleTable definitions, per rule package in Business Central. You can upload separate decision table spreadsheets for separate packages, but uploading multiple decision table spreadsheets in the same package can cause compilation errors from conflicting RuleSet or RuleTable attributes and is therefore not recommended.

Procedure

  1. In Business Central, go to MenuDesignProjects and click the project name.
  2. Click Add AssetDecision Table (Spreadsheet).
  3. Enter an informative Decision Table name and select the appropriate Package.
  4. Select the file type (xls or xlsx), click the Choose File icon, and select the spreadsheet. Click Ok to upload.
  5. In the decision tables designer, click Validate in the upper-right toolbar to validate the table. If the table validation fails, open the XLS or XLSX file and address any syntax errors. For syntax help, see Chapter 5, Defining decision tables.
Converting a decision table spreadsheet to a guided decision table

To convert an uploaded decision table spreadsheet to a guided decision table, click Convert in the upper-right toolbar in the decision tables designer. Converting the spreadsheet to a guided decision table enables you to edit the table data directly in Business Central. For more information about guided decision tables, see Designing a decision service using guided decision tables.