# Schedule Custom Function

The Schedule Custom Function attribute allows attribute data to be built by schedule. It is strongly convenient and reduces the time to compute when there is a request from the user (Data Object Data-table, Segment, Journey, AM...)

## Schedule Custom Function Configure

<figure><img src="/files/WBe1lESfaVbCBvK4n2UM" alt=""><figcaption></figcaption></figure>

### General Information

* **Object:** the corresponding Object that you chose to create the attribute
* **Group attribute:** Group contains attributes that have the same characteristic or usage. [See more about Groups](/cdp-365-user-guide-en/data-hub/business-objects/data-objects/groups.md)
* **Attribute type:** [type of attribute](#kieu-thuoc-tinh) you chose to create
* **Attribute name:** name of the attribute
* **Attribute internal code:** code of the attribute
* **Description:** information describes the attribute

{% hint style="warning" %}
Note: the attribute code does not allow prefixes: number\_, sgmt\_, aud\_&#x20;
{% endhint %}

<figure><img src="/files/AKrwm8vH1WO3vqvxQ7g6" alt=""><figcaption></figcaption></figure>

### Edit Info

* **Function**: You can enter functions or drag the suggested on the right of the Function list or Available Attributes
  * **Function list:** includes Operators, string, Math, Calendar/Date, Expression
  * **Available Attributes:** contains a list of available attributes that the user can use in Function
* **Data type of function output:** the data type of function output such as Number, String, Datetime. See more about [Data Type](/cdp-365-user-guide-en/annotation/data-format.md#data-type)
* **Display function output**: display format for the output of the function, it depends on the data type of function output.  See more about [Display Format](/cdp-365-user-guide-en/annotation/data-format.md#display-format)
* **Attribute usage setting:**&#x20;
  * **Enable Data Encryption:** mark data encoding for this attribute

{% hint style="info" %}
CDP 365 supports different functions corresponding with each data type
{% endhint %}

<figure><img src="/files/9Op3eHDrp2yO1HP9ddg9" alt=""><figcaption></figcaption></figure>

### Computation schedule

The schedule that the attribute is computed

See more about the [Computation Schedule](broken://pages/e485ErmJLYjqXpBEEBFU#computation-schedule)

### Notification Setup

* **Account:** set up account(s) receiving notification&#x20;
* **Notify options**: the notification can be sent by email or pushed notification when the computation completes success or fail

<figure><img src="/files/EMNaCuKEenox19FC3zYC" alt=""><figcaption></figcaption></figure>


---

# 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://docs.antsomi.com/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/schedule-custom-function.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.
