> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/german/verpflichtende-basis/platform-core/connect-hub/data-processing-function-formats/functions.md).

# Funktionen

Funktionen werden verwendet, um zusätzliche Berechnungen oder Transformationen an eingehenden Daten durchzuführen, die von der Formatkonfiguration nicht abgedeckt werden.

## Neue Funktion erstellen

<figure><img src="https://2215908449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqGnkz52o2zVUsEGEZGk%2Fuploads%2FymeooNA0MaErM82uCeu4%2FGroup%20585.png?alt=media&amp;token=8cc8c408-2a43-4a1e-a9ae-3d87e6d5c929" alt=""><figcaption></figcaption></figure>

1. Klicken Sie auf **\[A]**
2. Klicken Sie auf **\[B]**
3. Klicken Sie auf **\[C]**\
   ▷ Ein Dialog öffnet sich
4. In **\[D]**, geben Sie den Namen des Formats ein
5. In **\[E]**, wählen Sie einen Asset-Typ aus
6. Klicken Sie auf **\[F]**\
   ▷ Ein Dialog öffnet sich
7. In **\[G]**, wählen Sie die Parameter des Asset-Typs aus
8. Klicken Sie auf **\[H]**\
   ▷ Das Menü "Funktion konfigurieren" öffnet sich

## Eine Funktion konfigurieren

<figure><img src="https://2215908449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqGnkz52o2zVUsEGEZGk%2Fuploads%2FSmwn7m7jxQfuTQDF1IkF%2FGroup%2042.png?alt=media&amp;token=4320a932-50f3-44c5-aa4a-10258a5d1bf3" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="75.13332112630206">Element</th><th width="129">Titel</th><th>Details</th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Code-Editor</td><td>Geben Sie hier die JavaScript-Funktion für die Funktion ein</td></tr><tr><td><strong>[B]</strong></td><td>Info</td><td>Hier sehen Sie Informationen über die Funktion und das Format</td></tr><tr><td><strong>[C]</strong></td><td>Ergebnis</td><td>Hier wird das Ergebnis des in [A] eingegebenen Codes angezeigt</td></tr><tr><td><strong>[D]</strong></td><td>Code testen</td><td>Klicken Sie hier, um den in [A] eingegebenen Code zu testen. Das Ergebnis wird in [C] angezeigt</td></tr><tr><td><strong>[E]</strong></td><td>Speichern</td><td>Klicken Sie hier, um zu speichern</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.buildings.ability.abb/collection/german/verpflichtende-basis/platform-core/connect-hub/data-processing-function-formats/functions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
