# Start with Microflow in ONEWEB

This section introduces the basic steps required to **create, design, test, and deploy a Microflow** in ONEWEB.\
Microflow is a key integration component used to implement service‑oriented logic and connect applications with internal or external systems.

***

### Prerequisites

Before creating a Microflow, ensure that:

* You have access to **AppSpace**
* An application already exists, or you are ready to create a new one
* You have the required permissions to create and manage Microflows

***

### Step 1: Create or Open an Application in AppSpace

1. Log in to **AppSpace**
2. Either:
   * Create a new application, or
   * Open an existing application
3. Navigate to the **Application Components** page

All Microflows are created and managed **within the context of an application**.

***

### Step 2: Create a Microflow

Within the application:

1. Choose the **Microflow** option from the components menu
2. Click **Create Microflow**
3. Enter the required details (such as name and description)
4. Confirm creation

Once the Microflow is created and the required permissions are generated, AppSpace automatically **redirects you to the Microflow Designer**.

***

### Step 3: Design the Microflow

In **Microflow Designer**, you can now design the integration logic by:

* Adding **Activity Nodes** such as:
  * Web Service Task
  * Database Task
  * Java Task
* Defining execution flow and conditions
* Mapping input and output parameters
* Adding error handling and timing controls (Error / Timer events)

The Microflow Designer provides a **visual, drag‑and‑drop environment** for building integration logic.

***

### Step 4: Simulate the Microflow

Before deploying, Microflows can be **simulated** to validate logic and data flow.

Simulation allows you to:

* Test execution paths
* Verify parameter mapping
* Detect configuration or logic issues early

This step helps ensure correctness before deploying to a real environment.

***

### Step 5: Deploy the Microflow

After successful simulation, the Microflow can be deployed:

* Export the Microflow if required
* Deploy it to the target **runtime environment**
* Make it available for invocation by:
  * UI components
  * Other Microflows
  * Processes
  * External systems (if exposed via runtime server)

Deployment enables the Microflow to function as a live integration service.

***

### What You Will Learn in This Section

In this section, you will learn how to:

* Create an application in AppSpace
* Create and design a Microflow from scratch
* Use Microflow Designer to build integration logic
* Simulate Microflows for testing
* Deploy Microflows to a runtime environment

These steps form the foundation for developing **robust, reusable, and deployable integrations** using ONEWEB Microflow.

***

### Summary

Starting with Microflow in ONEWEB involves a clear and guided workflow:

1. Create or open an application in AppSpace
2. Create a Microflow within the application
3. Design integration logic using Microflow Designer
4. Simulate and validate the flow
5. Deploy the Microflow to runtime

This structured approach allows developers to build **service‑based integrations efficiently**, making Microflow a central element 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/designer-reference/microflow-designer/start-with-microflow-in-oneweb.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.
