Create your first automation in just a few minutes.Try Studio Web →
by YouTube
0
Activity
<100
Summary
Summary
This activity returns the date of the nth business day of any month based on Orchestrator calendar
Overview
Overview
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.
Features
Features
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.
Additional Information
Additional Information
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"
Code Language
Visual Basic
Runtime
Windows Legacy (.Net Framework 4.6.1)
License & Privacy
BSD
Privacy Terms
Technical
Version
1.0.2Updated
March 10, 2020Works with
This is compatible with all previous and current versions of UiPath Studio
Certification
Silver Certified
Support
UiPath Community Support
Resources