# Activity Nodes

In ONEWEB, **Activity Nodes** are the fundamental building blocks used to design **integration logic and execution flow**.\
They represent individual actions, decisions, and events that occur during the execution of a **Microflow or Process Flow**.

In **Process Designer**, an Activity Node is also referred to as a **Node Task**.\
Node Tasks are grouped into logical categories to support different integration and workflow scenarios.

***

### Node Task Groups Overview

The Node Task panel is divided into **four main groups**:

1. **Activity Tasks** – perform integration or execution actions
2. **Gateway Tasks** – control execution paths using conditions
3. **Event Notations** – start or end flows based on events
4. **Boundary Events** – handle timers and error conditions

Each group serves a specific role in defining how integration logic is executed.

***

### Activity Tasks

**Activity Tasks** are used to perform concrete actions such as calling services, accessing databases, or executing custom logic.

| Notation                                                                                                                                                                                                                                                                                                                                                        | Name                  | Description                                                           |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | --------------------------------------------------------------------- |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FgRFweP0ozQOEyO613gdV%252Fimage.png%3Falt%3Dmedia%26token%3D3679cb1c-c8fe-43d7-895b-f879c427cbea\&width=300\&dpr=3\&quality=100\&sign=77f66d73\&sv=2) | **Java Task**         | Executes custom Java functions from uploaded Java libraries.          |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252F7kZiEgEynJQiX0toA0sl%252Fimage.png%3Falt%3Dmedia%26token%3D74264464-a545-423e-8283-0347eea150b3\&width=300\&dpr=3\&quality=100\&sign=49f98ab9\&sv=2) | **Database Task**     | Executes SQL operations such as SELECT, INSERT, UPDATE, and DELETE.   |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FryRjK8vrnqZQbzhdpmAN%252Fimage.png%3Falt%3Dmedia%26token%3D6139dedd-793e-4782-b1ac-6a44d2c78c50\&width=300\&dpr=3\&quality=100\&sign=b77ea9a3\&sv=2) | **Web Service Task**  | Calls external SOAP web services or REST APIs.                        |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FJSjY6bAITOCly7MXIicl%252Fimage.png%3Falt%3Dmedia%26token%3D89277522-d714-4e4c-8b72-5db60ad39e85\&width=300\&dpr=3\&quality=100\&sign=93db194d\&sv=2) | **Sub Flow Task**     | Calls another Process or Microflow within the same project for reuse. |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FRx9Scnq8mb0oOA4IEqsy%252Fimage.png%3Falt%3Dmedia%26token%3D4cb0dcac-57c9-4bfb-9d90-9a2ef9d299f7\&width=300\&dpr=3\&quality=100\&sign=7f9017b8\&sv=2) | **Push Notification** | Sends notifications to mobile applications.                           |

Activity Tasks are typically used to **interact with external systems or perform integration logic**.

***

### Gateway Tasks

**Gateway Tasks** control the execution path of a process based on conditions.\
They allow the flow to branch into different paths.

| Notation                                                                                                                                                                                                                                                                                                                                                        | Name                  | Description                                                                           |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------- |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252F7ActGXtJNjDVKNmh0vNY%252Fimage.png%3Falt%3Dmedia%26token%3Dc8b497f8-49a1-430b-8938-e7c9b48a334a\&width=300\&dpr=3\&quality=100\&sign=ab8ee690\&sv=2) | **Exclusive Gateway** | Routes execution to one path based on conditions. Only the first valid path is taken. |

Gateway Tasks are essential for **decision‑based integration flows**.

***

### Event Notations

**Event Notations** represent triggers that **start or end** a process.

| Notation                                                                                                                                                                                                                                                                                                  | Name            | Description                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ----------------------------- |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FSvG5DKkSPWLzpDazDQDt%252F11%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=6a024bbb\&sv=2) | **Start Event** | Initiates the flow.           |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FZUCWUtErhy7W3HNxe11X%252F12%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=68351517\&sv=2) | **End Event**   | Marks completion of the flow. |

Events define **when integration logic begins and ends**.

***

### Boundary Event Notations

**Boundary Events** are attached to Activity Tasks and act as listeners for specific situations.

| Notation                                                                                                                                                                                                                                                                                                  | Name      | Description                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------------------------------------------------ |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FH9s9fqR1XQWQCvcO6Gpl%252F15%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=2e5124b4\&sv=2) | **Timer** | Triggers another task after a specified time duration. |
| ![](https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FpZRPqZSRy6SzVQJhc83Q%252F16%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=12af911d\&sv=2) | **Error** | Triggers an alternate path when an error occurs.       |

Boundary events support **resilience, timeout handling, and exception management**.

***

### Properties of Activity Nodes

Each Activity Node includes a **General tab**, displayed when double‑clicking a node.\
This tab provides generic metadata for the node.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F93qolrH0TZFWk2BEIZZa%2Fimage.png?alt=media&#x26;token=de28b2aa-09c6-4239-b934-97b64ad22380" alt=""><figcaption></figcaption></figure>

#### General Tab Properties

| Property    | Mandatory | Default | Description                        |
| ----------- | --------- | ------- | ---------------------------------- |
| Name        | Yes       | No      | Name of the node task              |
| ID          | Yes       | Yes     | System‑generated unique identifier |
| Type        | Yes       | Yes     | Type of the node task              |
| Description | No        | No      | Optional descriptive text          |

***

### Summary

**Activity Nodes** define how integration logic is executed in ONEWEB through Microflows and Process Flows.

They enable applications to:

* Interact with databases, services, and external systems
* Control execution paths and decisions
* Handle events, delays, and errors
* Build clean, reusable, and maintainable integration flows

Together, Activity Nodes form the **execution backbone of ONEWEB’s integration architecture**.


---

# 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/building-apps/integrations/develop-integration-with-oneweb-microflow/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.
