In the above example four Task Elements are used, specifically:
- Start Of Task
This denotes the entry point for the Task.
- Get Customer List
This runs a database query to retrieve a list of customers.
- Send Email
This sends an email to each of the customers returned from the previous Node.
- End of Task
This denotes the point at which the Task ends.
Collectively these Task Elements form a Task, and the purpose of that Task is the query a customers database and send out an email to each customer.
There are a number of example Tasks preconfigured with Presence. To view them in the Administration Client, browse to the "Demo" category.
Creating a Task
To create a new Task in the Administration Client, first select the Category that the Task belongs to. Then either right click on the Category and select "Create New > Task" from the pop-up menu, or choose File > New > Task from the application menu. Note that you are unable to create new Tasks in the root (Presence) category.
For more information on creating a simple Task, refer to the Task Designer section.
Task Name This is the name that you give to your Task. It should summarize the purpose of the Task (e.g. Find Outstanding Invoices).
Task Description This is a detailed description of the Task and its function.
Logging Options This lets you determine how much activity should be logged, in addition to setting the length of time logs should be retained before being deleted. You can also determine the behaviour of logging on Nested Tasks.
Time Zone You can specify that a Task should run in a different Time Zone to the default (system) time zone. This is useful if you are communicating with systems in other countries.
Advanced Options Allows you to specify preferred servers and included / excluded servers. You can also choose to have the Task run in its own dedicated JVM.