Task Config

 

1 What is Task?
2 Create New Task
3 Task Editor

1 What is Task?

A task is a collection of SQLMessenger configurations. Users need to configure tasks to instruct the SQLMessenger system on when and where to retrieve information and to whom the information should be sent.

2 Create New Task

You can open the "Create New Task" window by clicking the "New Task" button on the toolbar in the Task Manager or by selecting the "Create New Task" menu item from the context menu on the MainPage.

Click the "New Task" button on the toolbar in the Task Manager

Select the "Create New Task" menu item from the context menu on the MainPage

Task Manager

3 Task Editor

The Task Editor

In this window:

Task Template

Here, you can set the task type, email subject, recipients, attachment template list, and body template.

Setting Recipients for Tasks, Designing Body Template, Attachment File Template

Task Name & Comments

Here, you can set a name for the task, enter some comments, and choose a task folder to store this task.

Task Commands

Here, you can set some initialization commands to execute at the start of the task or commands to clean up temporary data at the end of the task. For example, you can configure some SQL statements in Task Commands to generate the report data to be sent at the start of the task.

You can also use Task Commands to check if there is information to be sent, and abort the task if there is none.

Task Variables

Here, you can set some variables for the task. You can use these variables in SQL statements, the task body template, the task email subject, and the attachment template filenames.

Query Parameters

Here, you can configure query parameters for Interactive Query tasks. When running the task, you can input these query parameters on the interface. The task will execute the query based on your input parameters and display the query results.

Query parameters on the query interface

Tips: "Email" task does not have this feature.

Task Schedules

Here, you can set the task's schedules to tell the system when to start this task, how often to run it, and more.

You can configure multiple schedules for a task. For example, the following schedules tell the system to automatically start the task at 8 AM on the 1st, 15th, and 25th of every month:

Start the task at 8 AM on the 1st, 15th, and 25th of every month

Tips: "Interactive Query" task does not have this feature.

Data Extraction Code

Here, you can generate a data extraction code for the task. Specified contacts in your address book can execute this task by sending the data extraction code to the email address of your SQLMessenger system and receive the generated email from the task.

Using Data Extraction Code

Tips: "Interactive Query" task does not have this feature.

Advanced Options

Here, you can set the task's running mode, sending email from specific email addresses, and other advanced options like email review.

Information Distribute

If you need to individually send information to multiple recipients (for example, sending sales reports to each city manager for their respective city), you can enable the "Generate a subtask instance for each recipient to individually query and send information (Loop Task)" option here, and set the "Recipient List (Loop Data)". The system will query data and send emails separately for each recipient based on the "Recipient List (Loop Data)" you have configured.

Tips: "Interactive Query" task does not have this feature.