Create your first automation in just a few minutes.Try Studio Web →
by YouTube
1
Activity
<100
Hi Bogdan,
I'm testing your Business Days Calculator Activity and I'm getting inconsistent results, i.e. each run different number of days. Did I miss something?
Hi Pawel, can you please give me a more detailed example on what is the data input and how you run it? - This will help me understand better how I can help
I tried with my demo sample and looks fine.
Hi Bogdan,
Like your activity, and I have a suggestion to enhance it.
It is sometimes necessary to calculate the next or previous businessday of a given date. To have an activity that given a date can determine the previous business day and the next business day. If the given date is a businessday then that would be the next business day, since the intent is most commonly to validate if that is a business day or not and if not to return the next business day.
Thank you,
Jeff
Hi Jeff,
Glad you like it, good suggestion for extending the use of the business days calculator.
I'll try to make some time this week to extend it and post an update.
Hi, really appreciate your effort taken to build this. But unfortunately for India(IN), Malaysia (MY) I am not getting the public holidays count. The list is returning empty for some other countries also.
But I am getting list of public holidays for random countries, lets say AD.
Hi Amith,
The list of supported countries is here: https://github.com/tinohager/Nager.Date/wiki/Supported-Countries.
The custom activity only wraps the nager.date library and makes it easier to use, but doesn't extended any supported countries or any logic for now.
Hope they will support the countries you need in the future, maybe you can just write to them or even help them add support
it says PublicHoliday is not defined.. can share workflow file?
Hi,
You need to make sure you have the Nager.Date.Model namespace in the import tab ( it's the tab near the arguments, below the main canvas ).
If you don't, just use the search bar after installing the custom activity and add it.
Technical
Version
1.2.0Updated
August 3, 2020Works with
UiPath Studio 18.4.0
Certification
Silver Certified
Support
UiPath Community Support