About this task
This guide provides a step-by-step walkthrough to create, deploy, and monitor a
simple end-to-end automation process using HCL Universal Orchestrator.
The business scenario: daily order processing
In this scenario, a company must ensure that two actions happen in a specific order every day:
- Check inventory: The system verifies stock levels.
- Process orders: After the inventory check is complete and successful, the system processes new customer orders.
Implement this logic using the Graphical Designer to visualize
the flow and the Orchestration Monitor to verify the
results.
Procedure
-
Design the automation.
The Graphical Designer is the central hub for defining
automation processes. It enables you to drag and drop items onto a canvas to
create workflows.
-
Log in to the HCL Universal Orchestrator
UI.
-
From the Welcome page or the navigation menu,
click Design to open the Graphical
Designer.
-
Create a workspace.
Workspaces enable you to organize different projects and design
sessions without cluttering the database immediately.
- On the My workspaces page, click
New workspace.
- Name the workspace (for example,
My_First_Project) and open it.
-
Create the workflow.
A workflow
is a container that holds individual tasks and defines the processing
order.
- On the left palette, click the Blocks
tab.
- Drag a Workflow block onto the canvas.
- In the properties panel on the right, define the general
information:
- Name:
DAILY_ORDER_WORKFLOW
- Folder: Select a folder, for
example /orders).
- Workstation: Select the
workstation where the process runs (for example, a cloud
task launcher or a local agent such as
WS_AGT_0).
-
Add embedded tasks.
Embedded tasks are defined directly inside the workflow, which is ideal for specific, single-use logic.
- Create Task 1 (Check inventory):
- From the Blocks tab, locate the
Task category.
- Drag a Native (Executable)
task inside the workflow.
- In the properties panel, set Name
to CHECK_INVENTORY.
- Select Inline script. In the
command field, type:
echo "Inventory
Checked".
- Ensure the correct workstation is selected.
- Create Task 2 (Process orders):
- Drag a second Native (Executable)
task into the same workflow.
- In the properties panel, set Name
to PROCESS_ORDERS.
- Select Inline script. In the
command field, type:
echo "Orders
Processed".
-
Define dependencies.
Ensure PROCESS_ORDERS only runs after CHECK_INVENTORY completes.
- Hover over the
CHECK_INVENTORY
task block to view the connection points.
- Click and drag a line from
CHECK_INVENTORY to PROCESS_ORDERS.
-
Deploy the automation.
Designing the workflow occurs
on the canvas, but you must deploy it to make it active in the plan.
-
Click Deploy in the Graphical Designer.
-
Monitor the process.
Switch to the monitoring view to verify the automation runs as expected.
-
Click the Orchestration Monitor tab in the main
menu to access the monitoring page.
-
Locate the workflow.
Search for DAILY_ORDER_WORKFLOW using the
Orchestration Query Language
query: name = 'DAILY_ORDER_WORKFLOW'
-
Verify the results.
- Select
DAILY_ORDER_WORKFLOW in the results table.
- Click Tasks to view task details.
- Verify that the status of
CHECK_INVENTORY changes to SUCC.
- Verify that
PROCESS_ORDERS transitions from HOLD to SUCC.
What to do next
You have successfully designed, deployed, and verified a sequential business workflow. HCL Universal Orchestrator manages
dependencies automatically, ensuring business rules are followed without manual
intervention.