Managing a run cycle group definition from the UI
The purpose of the following scenario is to show how to use run cycle groups in the context of an example.
About this task
This scenario describes how to use a single run cycle group to synchronize a multi-stage vendor payment process.
Alex, a financial analyst at a leather goods company, must manage two distinct workflows:
prep_wf: Preparation tasks to review invoices and verify liquidity;payments_wf: Tasks to generate and send bank files.
Scheduling requirements:
- Vendor weekly payments: occur every Monday at 9:00 AM;
- Vendor monthly payments: occur on the 27th day of each month to close the accounting cycle;
- Preparation lead time: 3 workdays before the target payment date;
- Inventory suppression: payments must not run during the monthly inventory week, defined
in the
FISCAL_INV_2026calendar; - Holiday rule: if a payment date falls on a holiday, the process must run on the nearest
preceding workday. The same logic applies if a payment date falls on a weekend. Holidays
are defined in the
HOLIDAYS_2026calendar.
- Prerequisites
-
- Create the
prep_wfandpayments_wfworkflows. - Create the
FISCAL_INV_2026andHOLIDAYS_2026calendars.
- Create the
Procedure
-
Create a run cycle group named
RCG_payments:-
In the HCL Universal Orchestrator
UI, click
Design and create a workspace named
payments_workspace. - From the Assets tab, click Create new and select Run cycle group.
-
In the Name field, type
RCG_payments. -
Under Scheduling options, in the Non-working days
calendar field, select
HOLIDAYS_2026.
-
In the HCL Universal Orchestrator
UI, click
Design and create a workspace named
-
Define the inclusion rules for the weekly payments:
-
Click
RCG_paymentsin the breadcrumb menu, go to Subsets section, click Add new and name the subsetRCG_payments_subset. -
Under Run cycle, click Add new and
name it
RC_WEEKLY. - Set Non-working days rule to Select nearest workday before non-working day.
- In the Rule section, set the Type to Cron expression.
-
In the Expression field, enter
0 9 * * 1(every Monday at 9:00 AM).
-
Click
-
Define the inclusion rules for the monthly payments:
-
Click
RC_WEEKLYin the breadcrumb menu, click Add new and name itRC_MONTHLY. - Set Non-working days rule to Select nearest workday before non-working day.
- In the Rule section, set the Type to ICalendar RRule.
-
In the Expression field, enter
FREQ=MONTHLY;BYMONTHDAY=27.
-
Click
-
Define the exclusion rules for the inventory week:
-
Click
RCG_paymentsin the breadcrumb menu, go to Subsets section, click Add new and name the subsetRCG_inventory_subset. -
Under Excluding run cycle, click Add
new and name it
RC_INVENTORY. - Set the toggle to Logical AND.
- In the Rule section, set the Type to Calendar.
-
In the Calendar field, select
FISCAL_INV_2026.
-
Click
-
Click
RCG_paymentsin the breadcrumb menu and click Add. -
Configure the preparation workflow:
-
From the Assets tab, drag the
prep_wfworkflow onto the canvas. -
In the
prep_wfworkflow box, click Add triggers > Add new > Run cycle. -
In the Name field, type
vendor_payments_rc. -
In the Rule section, set the Type to
Run cycle group and select
RCG_payments. -
Set the Offset value to
-3.
-
From the Assets tab, drag the
-
Configure the vendor payments workflow:
-
From the Assets tab, drag the
payments_wfworkflow onto the canvas. -
In the
payments_wfworkflow box, click Add triggers > Add new > Run cycle. -
In the Name field, type
vendor_payments_rc. -
In the Rule section, set the Type to
Run cycle group and select
RCG_payments.
-
From the Assets tab, drag the
- Deploy the workspace.
Results
You centralized the scheduling logic for the multi-stage vendor payment process. The engine
evaluates the
RCG_payments run cycle group for both workflows. The following
logic is applied to handle holidays and lead times:- Holiday and weekend shifting
- If the 27th of the month falls on a Saturday or a holiday defined in
HOLIDAYS_2026, the HCL Universal Orchestrator first applies the Non-working days rule. Because Alex selected Select nearest workday before, the target payment date is shifted to the preceding Friday. - Lead time calculation
- After the payment date is fixed, the offset is calculated. If the 27th of the month
is a Tuesday, HCL Universal Orchestrator identifies
the target date from the run cycle group. It then calculates 3 workdays back, skipping
the weekend, and automatically schedules the
prep_wffor the preceding Thursday. - Centralized maintenance
- If a new emergency inventory week is added to the
FISCAL_INV_2026calendar, both the preparation and payment workflows are suppressed simultaneously for those dates. - Operational alignment
- The preparation workflow is guaranteed to occur in relation to the payment date, maintaining the required 3-day window for financial auditing without manual scheduling adjustments.