Task Settings
In this topic, you will learn how to configure the task settings.
Note: The System Settings screen is reorganized to make the navigation more user-friendly. The settings are now grouped by theme, to easily locate and access the features.
Navigate to the upper-right corner of the screen, click > System Settings > Tasks.
Note: The Tasks settings page is available only for Administrators, who have the Admin global permission.
Task Polling
You can configure the polling interval to automatically refresh the tasks and release flow screens when a task status changes.
- In the Refresh Task status every field, enter the number of seconds. This refreshes the task status on the Tasks screen at regular intervals, based on the specified number of seconds. The default value is
1
second. - In the Refresh Task list every field, enter the number of seconds. This refreshes the task list on the Tasks screen at regular intervals, based on the specified number of seconds. The default value is
30
seconds.
Task Execution Log Purging
You can configure a specified time after which the task execution logs can be deleted from the Release server.
- In the Delete Task execution logs older than field, enter the number of days. This indicates the number of days after which the task execution logs stored on the Release server are deleted. The default value is
10
seconds.
Preserve Output Variable on Failure for Custom Script Tasks
If a custom script task fails, there is an option to preserve any output variables that are created before the failure.
There are two ways to configure:
- Select the Preserve output variable value for Custom script task checkbox.
- Configure this setting in the
xl-release.conf
file. The default value is false.
When this checkbox is selected, and if the Custom Script task fails without exception, output variable values set before failure will be preserved.
Note: This setting is global and applies to all the Custom Script tasks.
Task Drawer or Task Modal
You can configure to use the Task drawer or Task Modal. Additionally, you have the option to use only the Task Modal. To learn more, see Task Drawer.
- Select the Enable side-panel Task drawer checkbox to toggle between the Task drawer and Task Modal views.
- Clear the Enable side-panel Task drawer checkbox to use the Task Modal view.
- By default, this checkbox is enabled.