---
title: Make a decision
slug: vodafone-hands-on-lab/make-a-decision
docTags: 
createdAt: 2024-03-22T14:45:26.323Z
---

When a new task is created in the Customer Care App (CxApp), this application gives back an estimation of the time to wait before someone from the Customer Care team can phone the visitor. We want to make a decision about the best message to deliver, depending on the time to wait.

Expand the *Orchestration* menu

Drag\&Drop the *Condition* activity and link it to the custom action:

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/zd2bVDTR6JgE7vDL_kQgM_image.png)

Define the *Path1* with this expression:

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/B_0o2oTt_F2IiPTjlLrfQ_image.png)

Rename the path with "Less than 15 min"

Enable the *Others* transition by checking the *Show path for other cases ...* option

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/1eMCsIG141dgKzYskTs15_image.png)

Click on *Save* button



:::hint{type="success"}
The condition activity is very useful for making decisions and guiding the customer journey. We can set many paths and create a tree of decisions.
:::

