Decision Table Best Practices

Follow best practices when designing Decision Tables.

Best Practices to Design Decision Tables

Follow these best practices when designing Decision Tables in Decision Table Editor.

Use of Quotation Marks in Decision Output for String Data Type

When using the string data type in an output column that displays quotation marks intended as punctuation in the output, do the following to avoid an error while processing that data:

  • Precede each quotation mark intended as punctuation in the output with a backward slash (\) to indicate that this character is intended as punctuation and not to denote the beginning of the string output.

  • Place a space ( ) between the last quotation mark intended as punctuation and the closing quotation mark that denotes the end of the string output.

Example: "\"This is text to display verbatim.\" "

Decisions Format

When adding a decision, the decision expression's format is enclosed in double quotes as long as it is necessary to do it. This format does not work in complex expressions where using the dash (-) character to define a default option or functions like substring, which do not need to be enclosed in double quotes.

pageWhat is a Decision Table?pageManage Decision Tables

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