Schedule Tasks

You can create and run predefined tasks at the specified time intervals by scheduling your tasks in Zoho Expense. Once you’ve created your tasks using a simple deluge script, you can schedule these tasks to be executed at a particular time or on a recurring basis. Let’s look at a scenario to understand this better.

Scenario: Peter uses a third party application for maintaining employee database internally. He would like to sync all data in Zoho Expense with the other application periodically. To do so, he creates a schedule to sync the data at 12 AM every day.

In a nutshell, Schedules in Zoho Expense lets you schedule frequent tasks and allows you to configure various recurrence patterns like selecting the date, time, and frequency, based on which your tasks are executed.


Create Schedule

To create a schedule:

  1. Click Admin View.
  2. Go to Settings on the left sidebar.
    (OR)
    Click the Gear icon at the top right side.
  3. Click Schedules under Automation.
  4. Click + New Schedule in the top right corner.
    Create Schedule
  5. Enter a name for your schedule.
  6. Set the Frequency and recurrence pattern for the schedule to be executed. This can be daily, weekly, monthly, or yearly.
  7. Select how frequently the task should be executed.
    • The available frequencies are:
      Frequency Description
      Daily The task will be executed every day (or based on your recurrence pattern). You can choose to exclude the weekends.
      Weekly The task will be executed once a week. Select the day of the week on which the task should be executed.
      Monthly Task will be executed once a month. This can be a specific date or a day in a month. For example, you can choose to execute it on the 5th of every month or the second Saturday of every month.
      Yearly Task will be executed once a year. You can select the month and specify the date of execution or specify the day. For example, the task can be executed on the first Sunday in January or on January 5.
  8. Set the Start Date and Time.
  9. Choose an expiry date. It can expire after some executions or on a set date or not expire at all.
  10. Drag and drop options to create a Deluge function that will help to create your function.
  11. Click Save or Save and Execute to run it.
    Create Schedule

Warning: The start date of a schedule cannot be more than one year from the creation date.

Note: You can create a maximum of 10 schedules.


Edit Schedule

You can make changes to an already configured schedule. To edit:

  1. Click Admin View.
  2. Go to Settings on the left sidebar.
    (OR)
    Click the Gear icon at the top right side.
  3. Click Schedules under Automation.
  4. Hover over the scheduled task you want to edit and click the More icon next to the scheduled task.
  5. Click Edit and make the necessary changes.
  6. Click Save.
    Edit Schedule

Mark as Inactive

If you want to disable the schedule temporarily you can mark it as inactive.

To mark as inactive:

  1. Click Admin View.
  2. Go to Settings on the left sidebar.
    (OR)
    Click the Gear icon at the top right side.
  3. Click Schedules under Automation.
  4. Hover over the scheduled task you want to mark as inactive and click the More icon next to the scheduled task.
  5. Click Mark as Inactive.
    Mark Schedule as Inactive
  6. To mark as active again, click the More icon next to the scheduled task and click Mark as Active.

Delete Schedule

You can delete the schedules you’ve created. However, if you want to disable it temporarily you can mark the schedule as inactive.

To delete a schedule:

  1. Click Admin View.
  2. Go to Settings on the left sidebar.
    (OR)
    Click the Gear icon at the top right side.
  3. Click Schedules under Automation.
  4. Hover over the scheduled task you want to delete and click the More icon next to the scheduled task.
  5. Click Delete. Delete Schedule
  6. In the popup that opens, click Delete again to delete the schedule.

View Schedule Logs

You can view logs of the tasks that were triggered from the schedules set in your organization. To do this:

  1. Click Admin View.
  2. Go to Settings on the left sidebar.
    (OR)
    Click the Gear icon at the top right side.
  3. Click Schedules under Automation.
  4. Click View Schedule Logs on the top right side of the page and view the list of all the schedules that were executed, time of the execution, and their log IDs.
View Schedule Logs

Note: Zoho Expense displays only the workflow logs of the last three months.

Get a personalized demo from our experts

By clicking Submit, you agree to our Privacy Policy.