Test a Decision Table

Test conditions in a Decision Table.

Test a Decision Table

Test the conditions in a Decision Table to ensure they work as expected. If desired, use the Sample Input panel to mock Request variables and Magic Variables enclosed in mustache syntax to test how the Decision Table runs using data you expect.


Your user account or group membership must have the following permissions to do testing in a Decision Table unless your user account has the Make this user a Super Admin setting selected:

  • Decision Tables: Edit Decision Tables

  • Decision Tables: View Decision Tables

See the Decision Tables permissions or ask your Administrator for assistance.

Follow these guidelines to mock data coming into your Decision Table:‌

  1. View Decision Tables. The Decision Tables tab displays all Decision Tables.

  2. Select a Decision Table to edit in which to test conditions.

  3. Paste the JSON data model into the Sample Input panel in the Decision Table Editor. If you use any variables as defined in the JSON data model in your Decision Table, the Decision Table Editor uses those variable values during testing.

  4. Mock the variables enclosed in mustaches that your Inputs would reference.

  5. Click Run.

  6. In the Output panel, view the mocked data. If the Decision Table evaluates successfully, its output displays in the Output panel. If the Decision Table does not evaluate successfully, the language engine evaluating the Decision Table displays an error.‌

Last updated

© Copyright 2000-2024 ProcessMaker Inc. All rights reserved.