Using decision tables
Using decision tables in Workflow Studio, you can create, modify, test, and update decision tables for use in your workflows and applications. You can also create decision tables in Workflow Studio and then modify them in Excel.
- Create decision tables in Workflow Studio
Create decision tables in Workflow Studio to embed business logic into a series of if-then decision rules. Use decision tables when business logic is complex or may be reused in multiple places. - Duplicate a decision table
Save time creating similar decision tables by duplicating existing tables in Workflow Studio. - Edit decision tables using draft authoring
Edit published decision tables in Workflow Studio when draft authoring is enabled. Without draft authoring enabled, decision tables are active and available to use as soon as they're created. - Modify decision table structure in Workflow Studio
Evolve with your business logic by modifying the inputs or columns of your decision table in Workflow Studio. - Modify decision table rules in Workflow Studio
Evolve with your business logic by modifying the rows, default result values, or content of your decision table in Workflow Studio. - Use decision tables
Decision tables built in Workflow Studio are executed in flows with flow logic or in scripts with API calls. - Manage decision tables in Excel
If you have large decision tables to build or want to enhance decision tables outside of the ServiceNow AI Platform, manage them in Excel. Export a decision table to an Excel file, edit the downloaded file to add and edit rows, and then import the file back into Workflow Studio. - View related objects in a decision table
See and open objects that are related to your decision table, such as flows, subflows,and playbooks. - Test a decision table in Workflow Studio
Test your decision table in Workflow Studio before publishing to make sure the rules provide the desired outcome for a given set of input data. - Create decision table code snippets
Create code snippets of published decision tables in Workflow Studio to execute the decision table from any script and make it easier to replace hard-coded logic with decisions. - Modify Decision Tables in the Classic UI
Workflow Studio supports decision tables that were created in the classic environment. However, some data types and conditions from the classic environment aren’t fully supported in Workflow Studio. For unsupported field types and decisions with complex conditional logic, use the decision rule view to modify these condition expressions. - Delete a decision table
Delete decision tables that you no longer need from the list of decision tables in Workflow Studio. - Filter conditions in a decision table
Filter the conditions in the decision table to focus on the necessary data. - Use enhanced reference record
View and manage records when referring to other records in the current Decision Tables, without switching to another screen. - Set rows active or inactive
Activating a row in a Decision Tables includes its conditions and rules when executing the Decision Tables, while deactivating rows excludes the logic while executing the Decision Tables. This feature lets you use or skip conditions in the rows when executing the Decision Tables without deleting them.
Parent Topic:Workflow Studio decision tables