Connect HomeMarketplaceComponentsEnquero - Business Day Calculator for Scheduling

Enquero - Business Day Calculator for Scheduling

Custom Activity

Custom Activity

Updated: October 7th, 2020

Published: March 9th, 2020

Downloads: 16

Industry: cross-industry

Language compatibility: Visual Basic

Community Support

Enquero - Business Day Calculator for Scheduling

Custom Activity

Summary: 

This activity returns the date of the nth business day of any month based on Orchestrator calendar

Sample use case:
A process is scheduled to run only on the 5th business day of the month for doing payroll calculations for employees for the previous month. The Orchestrator scheduler runs every day for the first 10 days of the month to trigger the payroll process. The process first calls this custom activity to check if the current day is the 5th business day of the month. If this activity returns true, the process runs the payroll calculations. Otherwise, it does not take any actions until next day.

Arguments:
- in_Month_MMM (String) - Optional input argument which allows the user to provide any month in the string format "MMM". Default value is the current month.
- in_OrchestratorCalendarName (String) - Optional input argument which allows the user to provide the Orchestrator calendar name. Default value leads to no non-working days to be considered including the weekend days.
- in_BusinessDayOfMonth (Int32) - The index of the business day to be checked for the given month. For example, to find the 5th business day of a month, the value for this argument is 5. Default value is 1 (1st working day of the month).
- out_NextWorkingDate (DateTime) - The output argument which returns the date of the nth business day of the month.
- out_WorkingDayFlag (Boolean) - The output argument which returns "True" if the out_NextWorkingDate is the current day.

Details

Benefits

This custom activity would help to schedule processes based on a particular business day of the month in a dynamic way. If a process needs to be executed on nth business day of the month, this activity can be used to trigger the process. Also, if the current day needs to be checked for a particular working day, this activity is useful.

Compatibility

This is compatible with all previous and current versions of UiPath Studio

Dependencies

"UiPath.Excel.Activities": "2.7.2"
"UiPath.Mail.Activities": "1.7.2"
"UiPath.System.Activities": "19.10.1"
"UiPath.UIAutomation.Activities": "19.11.1"

Resources

- Enquero_Business Day Calculator for Scheduling.pdf

Licensing

By clicking download you agree to the following license.