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

Automating Workflows using HCL Universal Orchestrator: Implement EVERY on Job

11/28/2024

0 Comments

 
Picture
Introduction
Embracing Automation for Repetitive Tasks: The Key to Efficiency
​In today’s fast-paced digital world, efficiency is no longer a luxury—it’s a necessity. One of the most effective ways to achieve efficiency is through automation. Automation has become the backbone of modern workflows, particularly for repetitive tasks that consume time and resources. It ensures accuracy, consistency, and optimal resource allocation, enabling businesses to focus on innovation. In HCL Universal Orchestrator (UnO), attributes like ‘repeatInterval’ and ‘skipLateAction’ enhance automation by providing fine control over task scheduling and handling missed executions. Let’s explore these features, focusing on their behaviour and practical applications.
 
Why Do We Need Automation for Repetitive Tasks
Repetitive tasks are often necessary but time-intensive and prone to errors. Some examples of repetitive tasks include data entry, report generation, and system monitoring. Automation offers several benefits for such tasks:
Timesaving: automation removes the need for manual intervention, freeing up resources for strategic priorities.
Error reduction: automated tasks run consistently, minimizing human-induced errors.
Scalability: automation can handle large-scale operations without additional effort.
Reliability: scheduled tasks run at precise intervals, ensuring workflows remain uninterrupted.
 
Leveraging the repeatInterval (EVERY) Attribute
The repeatInterval (EVERY) attribute defines how frequently a task should repeat within a given timeframe. This removes manual rescheduling, optimizing task efficiency and increasing productivity.
In UnO, the repeatInterval attribute is simultaneously being used in multiple places, but here we talk specifically about how this feature can be incorporated in tasks.
 
Note: The maximum value for the repeatInterval attribute is 99 hours 59 minutes, in the hh:mm format.
Key Requirement: LatestStartTime
For the repeatInterval attribute to work effectively, the LatestStartTime parameter is mandatory. This parameter defines the endpoint for task execution, indicating the time until which the repeated tasks will run.
For example:   
Scenario: A data synchronization job must run hourly and stop after 24 hours.
Configuration:
repeatInterval = 1 hour
LatestStartTime = CurrentTime + 24 hours
This configuration ensures that the data synchronization job runs consistently within the specified timeframe and stopping at the specified time without human oversight.
Picture
Picture
​Managing Missed or Delayed Tasks: The skipLateAction Attribute
In real-world scenarios, tasks may be delayed or missed due to system downtimes, resource unavailability, or high workloads. The skipLateAction attribute offers flexibility in handling such situations, with three distinct values:
 
Scenario:
Planned Run Time: 12:15 PM
Current Time: 12:25 PM
Next Planned Run Time: 12:40 PM
1. SKIPLATE = NONE
The missed task at 12:15 PM will be run immediately.
All the other tasks will continue as per the planned schedule in sequential order.
Real-time example:
 
Use case: a log aggregation service that must process every log entry.
Behaviour:
At 12:25 PM, the missed run (12:15 PM) will be submitted first, ensuring no data loss. The system then continues processing tasks in sequence, starting with the 12:40 PM run.
2. SKIPLATE = OVERLAP
In this case the system first checks whether it’s time to run the next scheduled task (12:40 PM).
If yes: The late run (12:15 PM) is suppressed. However, an entry for this task is made in the database, indicating that a planned task run has been missed or suppressed.
If no: The late run (12:15 PM) is run immediately.
Real-time example:
Use case: A promotional email scheduler that avoids sending multiple emails simultaneously to users.
Behaviour:
At 12:25 PM, the system suppresses the missed 12:15 PM email if it’s close to the next scheduled email. If there’s enough time, the missed email will be sent immediately.
3. SKIPLATE = IMMEDIATE
Here the system uses a predefined interval (UNO_EVERY_IMMEDIATE_INTERVAL_IN_MINUTES, default: 2 minutes, which is set in the configuration file) to decide what to do.
If (next planned time - current time) > interval: the late task is submitted.
Otherwise: the late task is suppressed.
Where the next planned time is the next occurrence of the task run as per the schedule set by the repeatInterval option, and Current Time is the time when the server or agent is back online.
Real-time example:
Use case: a financial transaction system that processes overdue transactions quickly but avoids processing them too close to the next cycle.
Behaviour:
At 12:25 PM, the system evaluates the gap between the current time and the next planned time (12:40 PM). If the gap exceeds the 2-minute threshold, the missed run is processed immediately. Otherwise, it is suppressed to prevent redundancy.
Choosing the Right Configuration
The choice of which skipLateAction to use depends on the task’s criticality and system constraints:
NONE: ideal for scenarios where every missed task must be run to maintain data integrity or ensure comprehensive reporting.
OVERLAP: best suited for tasks where duplicate processing is undesirable, such as user-facing notifications.
IMMEDIATE: perfect for time-sensitive operations where catching up on missed tasks depends on the proximity to the next planned run.
Conclusion
Automation is no longer a convenience—it’s a strategic necessity. By leveraging attributes like repeatInterval for scheduling and skipLateAction for handling missed tasks, HCL Universal Orchestrator offers robust and efficient solutions. Choosing the right configurations for these attributes guarantees tasks are run with precision, aligning with organizational priorities and system capabilities.
Automation empowers teams to focus on what truly matters: innovation, creativity, and growth. Adopt automation today and transform routine tasks into seamless processes that drive efficiency and excellence.
Author

Picture
Akanksha Mani – Senior Software Engineer at HCL Software
Akanksha is a part of UnO Backend QA team working in Bangalore. She serves as an Automation tester in the Workload Automation project. She has prior experience in IBM for more than 4 years before joining HCL Software. She has completed her graduation from West Bengal University, Kolkata. Having worked on different forms of testing, currently API testing is what she works on, having knowledge in some of the in-demand technologies like Java, Rest API, MySQL, Git, MongoDB with testing platforms such as Selenium, Postman, RestAssured as well. She loves playing Badminton, Table tennis and Chess.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    July 2025
    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