How to run the bot Saturday,Sunday and holidays

Bot will run Saturday sunday and all Indian holidays

Yes, sat n Sunday we can run from orchestrator but in all Indian holidays how will it works

@suraj_gaikwad

Create a calendar and mark all the sundays,saturdays and indian holidays as working days and choose the calendar

That way the bot would run on only those days as per the choosen calendar

Cheers

1 Like

Yes i have sheet of sat, Sunday and holidays so how to code will develop

@arjunshenoy @Anil_G @Jithesh_R

@arjunshenoy @Anil_G
I have excel sheet where the holiday dates are there

@suraj_gaikwad

Please take a look at this, where you can upload the calender & define the non-working days:

https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/managing-non-working-days

The same defined calendar can be configured while creating a trigger.

If you want to run the process on non-working days (holidays & weekends), then you can define all the working days in the CSV file that you are going to upload in the ‘Non-Working Days’ tab.

Hope this helps,
Best Regards.

1 Like

@suraj_gaikwad

Go to irchestrator and create non working day calander by uploding that sheet

Cheers

1 Like

@arjunshenoy @Anil_G

Thanks,

Let me try is it working or not

1 Like

There is any other way to do
@Anil_G @arjunshenoy

@suraj_gaikwad

Run the bot daily…and then in your bot first check if todays date is present on your excel will the required dates.if yes proceed further else end the bot for the day

Cheers

@Anil_G
How should I code develop

@Anil_G @Jithesh_R @arjunshenoy

Is the format is wright to understand the bot today’s date and excel date is match so bit can move forward

@suraj_gaikwad ,
Can you Please print & share what data does “DT” contains

Regards,

@Jithesh_R

DT is null showing how?

How can I change the format of date because in DT output format showing like this

@suraj_gaikwad ,
Did u complete running Read Raange Activity?
May be you should do one more “Step Into”

Regards,

@Jithesh_R i have complete the read range activity and output is coming like this :point_up_2:

@suraj_gaikwad ,
Put this inside If condition and check

DateTime.ParseExact(CurrentRow("Date").ToString, "MM/dd/yyyy hh:mm:ss",System.Globalization.CultureInfo.InvariantCulture).ToString("dd/MM/yyyy").Equals(Now.ToString("dd/MM/yyyy"))

Regards,

2 Likes

Okay let me try ,

Thanks

This error occurred
@Jithesh_R