Loading...
Loading...
Loading...
Use the Call Decision Table action within a task to select and execute a rule-based decision table configured previously by an administrator in Genesys Cloud. When you call a decision table, you bring the associated input and output JSON schemas into the flow. Architect handles these JSON schemas as custom JSON data types that are available only with the Call Decision Table action. However, after you add a Call Decision Table action to your flow, you can also use the custom JSON data type with an Update Data action.
Decision tables allow administrators to define input and output criteria, and if the input values meet the set criteria, the decision table produces an output. Flow authors can call a decision table, define the input values, and then use the output JSON object that the decision table produces for further processing in the flow. For more information about decision tables, see About rule-based decisions.
| Name | Description |
|---|---|
| Name field | Type a distinctive name for the Call Decision Table action. The label you enter here becomes the action’s name displayed in the task sequence. |
| Decision Table | Click the arrow at the end of this list and select the appropriate decision table. To narrow the selection, type the first few letters of the appropriate decision table. You can select any published decision table regardless of the division to which the decision table belongs. However, if your decision table has a queue data type, you can use the queue only in the applicable divisions. |
| Input | Define the input values the action carries out at runtime. Depending on how an administrator configures the decision table in Genesys Cloud, these options vary and may be optional. Select Standard or JSON to toggle between the standard and JSON editing modes.
Both the standard and JSON editing modes allow literals and expressions as the input values. If you have not set a property and its value in JSON mode, the corresponding field in standard mode indicates that no value is specified. Notes:
|
| Output | Select an existing variable or enter a new variable to assign the output JSON object returned by the decision table. Note: Architect assigns the variable with the entire JSON object returned by the decision table, allowing you to access the JSON values using dot notation. For example, if you named the variable as |
The following table shows how Null values that Architect sends as inputs are validated for decision table rules:
| Input value in Architect | Editing mode | Mapped value in Decision Tables |
|---|---|---|
| No value | Standard | Null |
Blank literal value Note: This applies only to a string data type. |
| Empty string |
Not_Set |
| Null |
Null |
| Null |
| Name | Description |
|---|---|
| Failure Outputs | These outputs allow the flow author to map the results of any resulting errorType and errorMessage variables when the Call Decision Table action takes the failure path. The failure outputs help you anticipate potential issues and manage them effectively, improving your flow’s resiliency.
Note: Hover over the information icon next to errorType to display the list of allowable errorType values. Select the variables that you want to assign to the failure data values returned by the Call Decision Table action. You can use the following errorType values:
Note: Click the arrow next to Failure Outputs and expand or collapse the list of variables. |
| Path | Description |
|---|---|
| Success | A completed Success path indicates that the system encounters no errors during the process. It is not a measure of whether the system receives data that is the intended result or functionality. |
| Failure | This path indicates that there was an error attempting to complete the action or a problem processing the results from the Call Decision Table action. Drag the appropriate action below the Failure path. |
Get user feedback about articles.