---
sourceDocument: Australia Conversational Interfaces
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/conversational-interfaces

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Decision utility

# Decision utility {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Use the Decision utility in a Virtual Agent topic to add two or more
branches that represent different paths in a conversation.

## Use scripts or variable conditions to set decision branches {#va-decision__section_fg5_qyx_xdb}

Each branch below a Decision utility node has a condition property. You can define the
condition using the condition builder or a script that returns a value of true or false. A
branch that returns a value of true is followed, while a branch returning a value of false
is not. When creating these scripts or conditions, ensure that only one branch in each
Decision utility node evaluates to true.  
Nota:  
If you insert a Boolean user input control, you're prompted to add a Decision utility directly after the Boolean node on the canvas. Selecting Yes on the Boolean node's Decision utility prompt automatically generates two branches named True and False. The two branches conditions are automatically set through the condition builder.

For more information, see [Branch a Virtual Agent conversation with a Decision utility](https://servicenow-prod.fluidtopics.net/qvU83WmHftcUe7px3tLOhw "Your conversations may need to branch depending on end user input or choices. Use the Decision utility to branch the conversation when certain conditions are met.").

## Example Decision utility node with branches {#va-decision__section_vxj_wy2_tdb}

In this example, a static choice control prompts the user to select from three available colors and the selection is stored in a variable. The Decision utility control is configured with a branch for each possible selection.
Each branch uses the condition builder, which returns true when the corresponding color is selected. In the example, the condition builder returns true when the choice is Red.

You can also use the Script option for branch conditions. In the following example, the
script provides the same functionality as the condition builder.


