# Check customer orders in timeframe

**Tên**: `CheckCustomerOrderOnHaravanActivity`

#### **Dữ liệu đầu vào**:

1. `Duration`: Khoảng thời gian để kiểm tra đơn hàng phát sinh của khách hàng, ví dụ nếu khoảng thời gian là 24 giờ thì khi chạy, Activity này sẽ kiểm tra đơn hàng phát sinh của khách hàng trong vòng 24 giờ tính từ thời điểm Activity chạy. Để thiết lập thông số này, bạn nhập giá trị theo định dạng <mark style="color:yellow;">`ngày:giờ:phút:giây`</mark> như sau: `00:24:00:00`(24 giờ) hoặc `01:00:00:00` (1 ngày)

{% hint style="info" %}
Bạn cũng có thể thiết lập bằng cách chuyển định dạng nhập sang `Javascript và điền như sau:`

```javascript
Duration.FromHours(24)
hoặc
Duration.FromDays(1)
```

{% endhint %}

#### Dữ liệu đầu ra

Không có

#### Kết quả

* `HasOrder`: Có xuất hiện đơn hàng mới trong khoảng thời gian thiết lập
* `NoOrder`: Không xuất hiện dơn hàng mới trong khoảng thời gian thiết lập


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.bluecore.vn/flows/cac-activity/haravan/check-customer-orders-in-timeframe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
