Business logic editor
The Business Logic Editor lets you quickly design simple IoT business logic by orchestrating service nodes.
Create a business service
-
Create a project. For more information, see general-purpose project.
-
On the project Home page, under Project Development, click the Business Logic tab.
-
Above the service list, click New > Create Blank Business Service.
-
In the New Business Service dialog box, configure the following parameters.
Parameter
Description
Business service name
A unique identifier for the business service within the project.
The name can contain Chinese characters, letters, digits, underscores (_), hyphens (-), and parentheses (). It must start with a Chinese character, letter, or digit, and must not exceed 30 characters. Each Chinese character counts as one character.
Description
A description of the service, limited to 100 characters.
-
Click Confirm.
After you create the business service, the Business Logic Editor opens automatically. The editor interface consists of a vertical icon navigation bar on the far left for accessing documentation, lists, and settings; the Service List panel to its right, which includes a + (Add) button and a search function; and the main editing area on the right, which displays open services in tabs.
Left navigation bar
|
Function |
Description |
|
Service |
Select Service to display all business services in the project.
|
|
Node |
Select Node to display the node list. You can enter a node name to search for a specific node. |
|
Service call settings |
For HTTP services only, this feature lets you view the API call method and configure a domain name. |
Canvas
The center of the editor is the canvas, where you build business logic by adding and connecting service nodes.
A node can have multiple output nodes but only one input node.
-
Right-click a blank area of the canvas to access options such as paste, reset canvas size, and show global log.
-
Right-click a node on the canvas to access options such as cut, copy, and view node log.
-
From left to right, the controls at the bottom of the canvas perform the following actions:
Function
Description

Zooms out the canvas. The current zoom level is displayed to the right.

Zooms in the canvas. The current zoom level is displayed to the left.

Shows or hides the left navigation bar.

Shows or hides the bottom log pane.

Shows or hides the right-side configuration pane.
Right-side configuration pane
When you click a service node on the canvas, its configuration pane appears on the right.
|
Function |
Description |
|
Node configuration |
Configure the parameters for the node. For more information, see the documentation for each node in the Nodes section. |
|
Node log |
After deploying and debugging the service, click the Node log tab to view structured log information. |
Top toolbar
The controls on the top toolbar, from left to right, perform the following actions:
|
Function |
Description |
|
|
Hover over this icon to expand the project overview. You can view and update the services, products, and devices in the project.
To the right of the icon, the current service and project names are displayed in the format: <Project Name>-<Service Name>. |
|
|
Configures global or local variables. For more information, see variable configuration. |
|
|
Reverts the business service to its released version in the production environment, discarding all current changes. |
|
|
Undoes the previous action. |
|
|
Automatically arranges all nodes on the canvas. |
|
|
Saves the current configuration. The system also autosaves every minute. |
|
|
Deploys, starts, and debugs the current business service. |
|
|
Releases the configured service to the production environment. |
|
|
Opens the service development documentation. |
|
|
Submits a ticket. |
: Creates a new business service.
: Releases all services to the production environment.
icon next to a service name to copy, release, deploy and debug, or delete the service. You can also edit its basic information and view its call instructions.










