Edit a scheduled activity

Make changes to a schedule so that the automation is not skipped.

Prerequisites

Ensure that you are logged in to the Control Room as the administrator.

Edit the scheduled activity in order to:
  • Change the schedule type, date, or time.
  • Add or remove Bot Runners from the schedule.
  • Change the retry settings.
Note: The system redeploys the bots and dependencies only if there are updates to the bots or its dependent files.

Procedure

  1. Hover over the Actions icon for the scheduled bot in the Activity table.
  2. Click the Edit icon. (edit-icon)
  3. Make changes to the schedule details, bots, and devices, as required.
    OptionDefinition
    Run once Use this option to run the bot one time on a given day at x hour. When you select this option, set the start date and start time.
    Start date
    Default value is the current day.
    Start time
    Default value is roundup to the next half-hour.
    Time zone
    User's system time zone
    Run repeatedly Use this option to schedule your bot to run every x minutes or hour on a given day. When you select this option, select the start date, start time, end date, and end time.
    Start date
    Enter the date when you want the schedule to start running the bot. Enter the date either manually in YYYY-MM-DD format or by using the pop-up calendar. The default value of the Start date field is set to the current day of your local system.
    End date
    Enter the date when you want the schedule to end. The default value of the End date field is blank.
    Start time
    Enter the Start time using the drop-down list to set the time value when you want your schedule to start. The list contains predefined time values in the 12-hour format at intervals of 15 minutes. You can also manually set the time value in the 12-hour format. However, this is not available for the selection in the drop-down list. The default value of the Start Time field is rounded off to the next half-hour that is 15 minutes away. For example, if the current time is 11:22 AM, it will display 12:00 PM.
    Repeat every
    Select the Repeat every option to repeat the schedule every x minutes or hours.
    End time
    Enter the End time using the drop-down list to set the time value when you want your schedule to end. The list contains predefined time values in the 12-hour format at intervals of 15 minutes.
    Time zone
    Select the Time Zone both with the start and the end time. The default value is set to the current location your system. A schedule is run based on the time zone selected when creating or editing a schedule.
    Frequency
    Select the frequency for the schedule to run as daily, weekly, or monthly.
    • Daily: Select the number of days you want the schedule to run.
    • Weekly: Select the weeks and the particular days of the week you want the schedule to run. For example, if you want the schedule to run every two weeks on Monday and Thursday, increase the count to 2 in Every option and select the check boxes Monday and Thursday.
    • Monthly:
      • Day: Select the day of the months you want the schedule to run.
      • The: Select a particular occurrence of the day of the months you want the schedule to run. For example, if you want the schedule to run on the second Thursday of the months, January, May, and September, select Second, Thursday, and January, May, and September from the given options.
    Note:

    When the daylight saving is enabled and if the Start date is set for a schedule, the Start date is shown in the time zone to which it belongs to and not as per the user's current time zone. However, Next occurrence is shown in the time zone (user's system time zone) as per daylight saving time.

    For example, for a schedule created on 15th March in GMT time zone, the Start date is shown as Mar-15th which belongs to GMT time zone. Later, when daylight saving is ON and if you edit or view this schedule in the month of August in BST time zone, next occurrence is shown as current August month date which belongs to BST time zone.

    For example, if you schedule a bot to run from 23/11/2023 9:00 AM to 30/11/2023 9:00 AM, with the frequency set at daily, the bot executes daily from 23/11/2023 9 AM and the last bot run is executed on 30/11/2023 9M.

    Note: An alert is displayed if you select a Start date or Start time that is earlier than your device time.
  4. In the Missed schedule setting section, select Redeploy the schedule again to redeploy a schedule that was missed because of Control Room shut down.
    Note: To ensure a successful deployment when using the Redeploy the schedule again option, you must start the compiler service before you restart the Control Room services.

    When the Redeploy the schedule again option is selected, schedules missed because of Control Room shut down are automatically redeployed after the Control Room is restarted. An audit log entry is also added showing the Event type as Schedule misfired.

  5. Select Device pools.
    Select the pool from the list of available device pools.
  6. Optional: Click the up or down arrow to set the selected device pools in preferred order.
  7. Optional: Change the Automation priority from the General tab.
  8. Click Schedule bot.
The Schedule bot option remains disabled until all the required items, such as bots, schedule details, and devices are selected.
The number of times a bot is deployed depends on the run-as users (Bot Runners) selected for the schedule. Consider the following scenarios:
  • The number of run-as users selected is two, and both the users have the bot running device: The bot is deployed twice on the two run-as users and their bot running devices.
  • The number of run-as users selected is three, and only one of the users has the bot running device. In this case, you must select the device pool. If the device pool has only two devices, the bot is deployed three times on both the devices in the device pool and also on the bot running device of the third user.
  • The number of run-as users selected is three, and none of the three users has the bot running device: In this case, you must select the device pool. If the device pool has only two devices, the bot is deployed twice on both the devices in the device pool, and the third request for bot deployment is queued. The bot is deployed only when a device becomes available in the device pool.
  • The number of run-as users selected is two, and none of the two users have the bot running device: In this case, you must select the device pool. If the device pool has four devices, the bot is deployed twice on any available two devices in the device pool.
Note: For schedules without a device pool, when one or more active run-as user devices are unavailable or disconnected, the bot deployment fails for all the run-as users in the schedule.