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

File monitoring in HCL Universal Orchestrator

12/2/2024

0 Comments

 
Picture
​With technology advancing at breakneck speed, real-time monitoring of modifications to a file can play a significant role in maintaining efficiency and reliability of modern applications. A feature that identifies changes to a file as they occur proves helpful in various aspects of software workflows and operations. 
HCL Universal Orchestrator introduces such a feature in this release: file monitoring that instantly detects and responds to file changes, streamlining automation, minimizing delays, and boosting productivity.
With file monitoring, users can:
  • Detect errors in log files.
  • Track configuration file changes.
  • Identify incoming data.
This continuous oversight ensures that any changes are quickly identified, accelerating the process and ensuring seamless data processing.
The behaviour of file monitor tasks is largely influenced by the Polling type attribute, and its combination with multiple attributes used in different scenarios. The feature supports two polling types: eventDriven and periodic, each suited for specific use cases. You can monitor the files on a local machine or a mounted virtual machine where the HCL UnO agent is installed. It detects file events such as creation, modification, and deletion, ensuring timely recognition and processing of critical changes.
The task runs continuously until either a change is detected, or the predefined monitoring period expires. The results, including affected file names and event types, are logged in the output for further analysis.
How to Create a File Monitoring Task
  1. Log in to the HCL UnO UI.
  2. Open the Design.
  3. Add the File Monitoring Task template under File Transfer and Coordination.
Configuration Details
            All the available attributes for file monitoring tasks are categorized under two tabs.
General information
  • Name: specify a mandatory name for the task.
  • Workstation: define the workstation (must be a standalone agent).
Action
  1. Event: choose the event type (Create, Modify, or Delete).
  2. File path: provide the file path to monitor a single file or multiple files.
  3. Minimum file size: set the minimum file size for monitoring (in bytes).
  4. Monitoring time: duration (in seconds) to monitor file changes.
  5. Post modification time: monitors the file for additional time after detecting changes (Create or Modify only).
  6. Exit if the path to the monitoring file is not found: task moves to ABEND status, if the file path is invalid.
  7. Output file path: specify where you want the output file after the task completion.
  8. Polling Type: define the type of monitoring for the file:
    • eventDriven: the task moves to SUCC status immediately after detecting a change or when the monitoring period elapses.
    • Periodic: the file is monitored at specified intervals.
For more information, see Analyzing file monitoring task scenarios.
  1. Record all modified files (Batch): enable this option to log all modified file names by setting the value to "". If not, only the first modified file is logged.
Analysing file monitoring task scenarios
You can configure the polling type attributes in multiple ways to monitor the files for specific use cases.
  • Event driven polling
    •  First Run: Regardless of the batch attribute, the task captures the first detected change and moves to SUCC status.
    •  Rerun Behaviour: If files change before a rerun, the task compares the stored file state with the current state. It waits until the time specified for Post modification time and moves to SUCC immediately otherwise.  If you enable the Batch attribute before rerun, the task records all detected changes before the rerun. This is the only scenario where multiple file changes are recorded for eventDriven polling type. If not, only the first changed file is recorded.
  • Periodic Polling
    • Initial and Rerun Behaviour: The task periodically checks for file changes. If any file changes before the rerun, the task behaves like an event-driven task and moves to a SUCC status. You can enable the Batch attribute to record all the changed files in the output log. If not, only the first changed file (in alphabetical order) is recorded.
Author's Bio

Picture
​Shubham Gupta (Senior Software Engineer)
Working for the Workload Automation Bangalore team as a backend developer. He worked with platforms including Java, Spring, Spring boot, Spring MVC, SQL etc. He enjoys practicing yoga and derives great joy from exploring new places and getting to know new people.
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