# Activity Nodes

**Activity Nodes** represent the **core execution units** in a business process.\
Each Activity Node performs a specific task based on its defined functionality and is modeled using **BPMN standards** within the Process Template Diagram.

In ONEWEB Process Designer, different types of Activity Nodes are provided to support **human interaction**, **system execution**, **data processing**, and **integration**.

***

### Types of Activity Nodes

Below are the available Activity Nodes and their purposes.

***

#### Human Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FGTuABo1y8setpDiUEoH6%2F0?alt=media" alt=""><figcaption></figcaption></figure>

The **Human Task** is used to assign work to:

* A specific user
* A group of users
* A role‑based Work Party

It is typically used for approval steps, reviews, or any task requiring manual user interaction.

***

#### Java Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FpOWhUxz1ZA7LUX0fETr7%2F1?alt=media" alt=""><figcaption></figcaption></figure>

The **Java Task** is used to execute **custom Java logic**.\
It invokes Java methods from uploaded Java libraries, allowing implementation of complex business logic or system‑specific processing.

***

#### Database Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FqUP6bvTCcmcBpukCAsCP%2F2?alt=media" alt=""><figcaption></figcaption></figure>

The **Database Task** executes SQL operations, including:

* SELECT
* INSERT
* UPDATE
* DELETE

It is used to interact with data stored in relational databases as part of the process flow.

***

#### File Read Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FA7SFFBovh8ZKmBjKb2Nc%2F3?alt=media" alt=""><figcaption></figcaption></figure>

The **File Read Task** reads data from external files.

Supported file formats:

* XML
* Excel
* Fixed Width
* Delimiter‑based files

This node is commonly used for batch processing or external data ingestion.

***

#### Web Service Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F7ggZYXK9HDNCf89RMoR2%2F4?alt=media" alt=""><figcaption></figcaption></figure>

The **Web Service Task** is used to call external services, including:

* SOAP Web Services
* REST APIs

It enables integration with external systems and services.

***

#### Sub Process Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FLk5YVp8AbPhjPpzpH8S6%2F5?alt=media" alt=""><figcaption></figcaption></figure>

The **Sub Process Task** invokes another process within the **same project**.\
It supports modular process design and reuse of common workflows.

***

#### File Write Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FFbROnICSQ3yGxsrmsnSw%2F6?alt=media" alt=""><figcaption></figcaption></figure>

The **File Write Task** writes data to external files.

Supported formats are the same as File Read:

* XML
* Excel
* Fixed Width
* Delimiter‑based files

This node is typically used for exporting process data.

***

#### Push Notification Task

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FMeO1ldGOTh3q6xpszFuq%2F7?alt=media" alt=""><figcaption></figcaption></figure>

The **Push Notification Task** sends notifications to **mobile applications**.\
It is commonly used to notify users about task assignments, approvals, or process status updates.

***

### Summary

Activity Nodes define **what happens** within a process flow.

Key points:

* Each Activity Node serves a specific execution purpose
* Nodes support manual tasks, automation, integration, and data processing
* Activity Nodes are the building blocks of BPMN‑based process design
* Proper selection of node type ensures clear, maintainable workflows


---

# 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.onewebstack.com/oneweb-platform-th/designer-reference/process-designer/process-designer-component/activity-nodes.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.
