WORKLOAD AUTOMATION COMMUNITY
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
  • About
  • Contact
  • What's new

Resources in HCL Universal Orchestrator

5/19/2025

0 Comments

 
Picture
​In an automated orchestration environment, precise control over parallel process execution is
crucial when managing multiple workflows or tasks. This is where resources come into play,
representing limited units that workflows or tasks can reserve and consume during run time.

What is a resource?
In HCL universal orchestrator, a resource is a consumable entity that limits how many tasks or
workflows can run simultaneously based on its available quantity. This helps the system run
efficiently by controlling access to shared components that are finite in number.
Without such restrictions, multiple tasks may attempt to use the same resource at the same
time, potentially leading to conflicts or failures. Resources help avoid such scenarios by
managing these limitations effectively.

Why are resources necessary?
Resources are essential for managing equitable use of shared infrastructure and preventing
overloading. HCL universal orchestrator ensures the following benefits when resources are
defined and linked to tasks or workflows:
· Controlled concurrency – Only selected number of tasks run simultaneously.
· Resource sharing – multiple workflows can share a resource if designed to do so.
· Conflict avoidance – Workflows or tasks wait until the required resource units are
available.
· Efficient scheduling – System utilization improves without bottlenecks.

Consider resources as a parking space with limited slots, only a certain number of vehicles
(workflows or tasks) can be parked (run) at a given point in time and the remaining vehicles
need to wait until a spot is available.

​Defining resources using CLI
Use the orchestration CLI command to define a new resource:
ocli model new resource
Then complete the following template:

Kind: Resource
Def:
​   Folder: <mandatory>
   Name: <mandatory>
   Workstation: <optional>
   Description: <optional>
   Quantity: <mandatory>

Resources
Picture
Once defined or created, the resource can be referenced in your workflow or task definitions.
Managing resources using the UI
You can also create and manage resources from the graphical designer UI.
Steps to create a new resource:
  1. Log in to the UI.
  2. Go to the Design tab.
  3. In the Graphical Designer page, select the Assets tab.
  4. Click the Plus icon.
  5. From the drop-down menu, select Resource.
Complete the mandatory fields:
  • Folder
  • Name
  • Quantity
    6. Optionally you can provide:
    • Workstation
    • Description
7. Click Add. Adding resource to a workflow or task:
​
  1. From the Blocks tab, drag a workflow to the canvas.
  2. Click the Add constraints option on the task or workflow.
    • Use task-level constraints for individual control.
    • Use workflow-level constraints to apply to all tasks within the workflow.
  3. Click Add New, and then select the Resource Dependency option.
  4. Select the resource, and then specify the quantity needed.
Ensure that shared option is set to on, if you want to share the quantity of a single resource in multiple tasks or workflows.
 
Conclusion
Resources are a powerful mechanism to manage concurrency and ensure optimal usage of shared infrastructure in orchestration systems. Whether you are building tasks using CLI or UI, leveraging resource constraints can lead to a more predictable, balanced, and reliable operating environment.

​

Picture
Shubham Gupta
A seasoned backend developer specialized in Java, Spring, Spring Boot, Spring MVC, Spring JPA, and SQL, with expertise in designing and implementing REST APIs. An Oracle Certified Associate in Java SE 8 and currently working on cloud-native applications using microservices architecture and actively expanding his knowledge in this area. Outside of work, he enjoys practicing yoga, exploring new places, and meeting new people, which helps him stay refreshed and inspired outside of work.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    June 2025
    May 2025
    March 2025
    February 2025
    January 2025
    December 2024
    November 2024
    October 2024
    September 2024
    August 2024
    July 2024
    June 2024
    May 2024
    April 2024
    March 2024
    February 2024
    January 2024
    October 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    January 2020
    December 2019
    November 2019
    October 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017

    Categories

    All
    Analytics
    Azure
    Business Applications
    Cloud
    Data Storage
    DevOps
    Monitoring & Reporting

    RSS Feed

www.hcltechsw.com
About HCL Software 
HCL Software is a division of HCL Technologies (HCL) that operates its primary software business. It develops, markets, sells, and supports over 20 product families in the areas of DevSecOps, Automation, Digital Solutions, Data Management, Marketing and Commerce, and Mainframes. HCL Software has offices and labs around the world to serve thousands of customers. Its mission is to drive ultimate customer success with their IT investments through relentless innovation of its products. For more information, To know more  please visit www.hcltechsw.com.  Copyright © 2024 HCL Technologies Limited
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
  • About
  • Contact
  • What's new