Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
This page is for data modellers, application designers and system administrators. It explains how to create a task plan, which will run one or more tasks.
Overview
When working with data, applications and IT systems, there are routine processes that you need to run. PhixFlow makes it easy for you to set up and manage these processes using task plans, to which you add tasks.
See Also
- Using Tasks and Task Plans
- Task
- Training module 14 Creating Tasks and Task Plans
borderColor | #7da054 |
---|---|
titleColor | white |
titleBGColor | #7da054 |
borderStyle | solid |
title | Sections on this page |
Running Task Plans
Excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
You can run a task plan:
When a task plan runs, its tasks are run in the order they are listed. You can optionally set up a list of users who will receive an email about the outcome of running the task plan. |
Task Plan Properties
Insert excerpt _standard_settings _standard_settings nopanel true
The property tab toolbar includes the
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Basic Settings
Field | Description | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | The name of the task plan. | |||||||||||||||||||||||||||||
Enabled |
| |||||||||||||||||||||||||||||
Scheduled |
| |||||||||||||||||||||||||||||
Suspend on Failure |
| |||||||||||||||||||||||||||||
Suspended |
| |||||||||||||||||||||||||||||
Protect on import |
|
Tasks
The grid contains a list of of tasks in the task plan. To create a task and add it to the list:
- Click
. PhixFlow displays a list of task types; see Types of Task.Insert excerpt _new _new nopanel true - Select a task type.
- Complete the task properties; see Task.
To remove tasks, use the toolbar button
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Schedule
This section is displayed when Basic Settings → Scheduled is ticked. Specify the day and time on which the task plan runs.
In the fields, you can enter:
- an explicit value:
6
- a range:
9-12
- a repeating group:
5/10
This is equivalent to5,15,25,35
etc. - a comma-separated list of single values, ranges or repeating groups:
1,3-5,10,20/5
- a wild card to mean all values:
*
Note: You cannot use a wild card in the Seconds field.
Tip |
---|
The Schedule section has fields for Day of Month and Day of Week . These fields are mutually exclusive. Use one to specify a day, and enter a |
Field | Description | ||
---|---|---|---|
Seconds | Enter the seconds part of the scheduled time, for example, 0-59. | ||
Minutes | Enter the minutes part of the scheduled time, for example, 0-59. | ||
Hours | Enter the hours part of the scheduled time, for example, 0-23. | ||
Day of Month | Enter the day of the scheduled date. You can enter:
| ||
Month | Enter the month of the scheduled date. You can enter the months as:
| ||
Day of Week | Enter the day of the scheduled date. You can enter:
| ||
Year | Enter the year of the scheduled date, for example, 2020. You can specify a range of years, for example, 1970-2099. |
Anchor | ||||
---|---|---|---|---|
|
You can set up an automated email to be sent with the results of a task plan run.
Emails are generated in an outbound queue and are sent by a separate email
background process. If
the background process cannot send the emails immediately, for example, because the email server is down,
it will try to re-send periodically until:
- either it succeeds
- or it exceeds a timeout period.
Emails can also be sent as part of Actionflows. The Actionflow can be added to a task plan to run at a scheduled time, see Scheduling Actionflows and Email Action Configuration.
Field | Description |
---|---|
Email From | Enter the email address from which the generated email will appear to be sent. |
Subject Expression | Enter a PhixFlow |
expression to create the email subject. The expression must evaluate to a plain text string; see Expressions and PhixScripts. Use the internal variables _errors, _warnings, _messages, _suspended and _taskPlan. | |||||||||
Email as HTML |
| ||||||||
Message Expression | Enter a |
PhixFlow expression to create the message body of the email. Email messages can have unlimited characters. The expression must |
evaluate to a |
plain text string; see Expressions and PhixScripts.. When Email as HTML is ticked, the string can include HTML tags, for example to format text or provide links. Use the internal variables _errors, _warnings, _messages, _suspended and _taskPlan. |
Notification |
The grid contains a list of the notification rules that belong to the task plan. To create and add a notification to the list, |
click
To remove a user notification rule from the task, use the toolbar button
|
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Advanced
Field | Description |
---|---|
Exclusion Group | This field is case insensitive. If this field is not empty, only one task plan with this Exclusion Group can be running at any one time. Attempting to run a second task plan with the same exclusion group will return a warning and the task plan will not run. This applies whether the task plan is run manually, automatically using a schedule, or by an action. When running an action, the initial phase will evaluate the task plan rules and determine which task plan (if any) to run. If the task plan to run has an exclusion group and there is already a task running with this exclusion group then the action will not continue and returns a warning. Exclusion Group are evaluated before any tasks or actions are started. If there is no task already running with this exclusion group then the action will continue. The action will be considered to be using this exclusion group from this point until the task plan has completed. |
Live Search | ||||||||
---|---|---|---|---|---|---|---|---|
|
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|