- Getting Started
- Administration Guide
-
User Guide
- An Introduction to Wyn Enterprise
- Document Portal for End Users
- Data Governance and Modeling
- Working with Resources
- Working with Reports
- Working with Dashboards
- View and Manage Documents
- Understanding Wyn Analytical Expressions
- Section 508 Compliance
- Subscribe to RSS Feed for Wyn Builds Site
- Developer Guide
Wyn Enterprise: Schedule a Task
A scheduled task is used to run a task on a document at a particular date and time, and the result of the task generates a document that is shared with recipients through emails. In the case of a report, the result can also be shared by storing it on the system server or at a shared location.
Wyn Enterprise lets you schedule a task to run repeatedly, i.e. daily, weekly, monthly, or yearly, once at the specified time interval, or manually with a click of a button. For example, you can schedule a task on a report to run every evening at 5:00 pm or once every 5th of November at 12:00 pm.
Wyn Enterprise provides the Report Bursting feature to help you distribute reports to multiple recipients and, Document Binding to send multiple documents in a compressed archive as part of a scheduled task. Click the following links to see the help docs of the features,
Task Execution Modes
The different modes of task execution supported in Wyn Enterprise are elaborated below.
Manual: This lets you execute the task manually. You need to click the Run Task button as many times as you want to execute the task.
One-Time: Runs the task at the specified time. This type of scheduling executes the task only once and gets deleted after the execution. It provides you the flexibility to specify the date and time to schedule the task.
Scheduled: Runs the task at fixed intervals of time. For example, you can use a template to schedule a task every Monday at 5:10 am. The schedule template uses predefined date and time, recurrence, and delivery settings.
Note: The following settings should be configured correctly in the Admin Portal else the scheduled tasks will not work properly.
1. The Portal URI setting on the UI Settings page.
2. The email server settings on the Email Settings page.
High Priority Task Management
With the Wyn Enterprise release version v8.0, a built-in feature Task Priority is implemented within the scheduler service. The Task Priority feature will examine the task claims to identify and extract any high-priority permissions and pass them on to the task queue service. This will ensure that the high-priority tasks are treated accordingly in the task execution process.
In the scheduler service, tasks are managed based on whether the system has reached the defined Max Tasks Per Worker limit, which sets the maximum number of tasks each worker can handle simultaneously. The task queuing logic is applied as follows:
If the Max Tasks Per Worker limit is not reached.
The task will not be queued and will run immediately.
If the Max Tasks Per Worker limit is reached and no high-priority tasks are in the queue.
The task will be queued and placed at the top of the queue.
If the Max Tasks Per Worker limit is reached and high-priority tasks are in the queue.
The new tasks will be queued behind the existing high-priority tasks, following a FIFO (First In First Out) order for tasks with same priority.
For more details on creating scheduled tasks for reports, dashboards, data sources, datasets, and data models, see the following help articles:
Create a Scheduled Task to Run a Report - Learn how to create a scheduled task for a report on the Document Portal.
Create a Scheduled Task to Run a Dashboard - Learn how to create a scheduled task for a dashboard on the Document Portal.
Create a Scheduled Task to Run a Datasource - Learn how to create a scheduled task for a data source on the Document Portal.
Create a Scheduled Task to Run a Dataset - Learn how to create a scheduled task for a dataset on the Document Portal.
Create a Scheduled Task to Run a Data Model - Learn how to create a scheduled task for a data model on the Document Portal.