# Użycie w procesie

W definicji procesu tworzymy zadanie typu **Service task**, które jako rozszerzona właściwość wpisane ma parę:

* **Name** - script
* **Value** - nazwa artefaktu zawierającego kod skryptu

natomiast jako **Implementation** parę:

* **Type** - External
* **Topic** - eximeeScriptCodeTask

<figure><img src="/files/Y8aOx55Vqb5Bl1oyYeTf" alt="" width="536"><figcaption><p><em><strong>Ilustracja 1.</strong> Zadanie "Service task"</em></p></figcaption></figure>

W ten sposób podpinamy w procesie zadanie skryptowe, a dokładniej artefakt o nazwie - w powyższym przykładzie - *skarbonkaCalculateFormColor*.

Musimy stworzyć (lub mieć stworzone wcześniej) Zadanie skryptowe o odpowiedniej nazwie

<figure><img src="/files/DoOSuKR8kVTJiVBOqYoh" alt=""><figcaption><p><em><strong>Ilustracja 2.</strong> Przykład zadania skryptowego</em></p></figcaption></figure>

Więcej informacji: [Zadanie skryptowe](/budowanie-aplikacji/logika-biznesowa/scriptcode/zadanie-skryptowe-scripttask.md)


---

# 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.eximee.com/budowanie-aplikacji/proces-biznesowy/zadania-automatyczne/uzycie-w-procesie.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.
