Skip to content

Knowledge Base

White Paper Libary

Tasks which write key data to a database – External memory

This example will create a task that demonstrates how External memory is used in an output step to store key data generated by a task. An SQL Server database is used as the memory location.

The task runs regularly based on a schedule, it queries the database of a database system, formats the information returned as text and sends a notification via email which at the same time commits specified data to memory.

Memory 1(1)

This task is made up of 4 steps:

Step NameToolWhat it does
Daily ScheduleEvent: ScheduleDetermines how frequently the task is to run.

Scheduling a Task

Retrieve InformationInput: Database Query (ODBC)Reads the database of a business system to find details to map to include in the alert.

Querying a database

Format InformationFormat: Format As TextTakes the results from the previous step and lays them out in a way that can be read.

Formatting Plain Text

Send Email And Commit To MemoryOutput: Send Email (SMTP)Sends an email containing the formatted information.

Sending an email

Send Email And Commit To MemoryMemory feature within the output tool.Key information is saved to memory.

Writing key data to a database using external memory

There are two different types of memory, please follow this link for the ‘Learn about’ article ‘Internal Memory’:

Tasks which write key data to a repository – Internal memory

This type of memory uses repositories within TaskCentre to store data along with a ‘Data Filter’ step.

To read about designing other tasks see:

Task Design