--- title: Task Planner component setup description: The Task Planner is used to provide a single view of project tasks in a list and timeline format. The component is a combination of the sn-datagrid and now-gantt components.Configure Task Planner declarative actions and buttons with these properties.Select event handlers to configure the actions \(events\) provided with the Task Planner component. locale: en-US canonical_url: https://www.servicenow.com/docs/r/application-development/ui-builder/task-planner-component-uib-setup.html release: brazil product: UI Builder classification: ui-builder topic_type: task last_updated: "2026-09-10" reading_time_minutes: 8 breadcrumb: [UIB Setup Information, UI Builder, Builder library, Developing your application, Classic app development, Building applications] --- # Task Planner component setup The Task Planner is used to provide a single view of project tasks in a list and timeline format. The component is a combination of the `sn-datagrid` and `now-gantt` components. ## Before you begin This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-components.md). **Note:** This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component. Role required: admin or ui\_builder\_admin ## Procedure 1. Define a label for your Task Planner that differentiates it from other components in the [content tree](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/uib-tutorial.md). A label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Customize UI pages using components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-components.md). \[Omitted image "task-planner-component-content-tree.png"\] Alt text: Task Planner component in the content tree. 2. Select the Task Planner component, using one of these methods: - Click anywhere within the component. - Select the Task Planner label you created for your component in the content tree. The property fields appear in the **Config** tab in the setup panel on the right. **Parent Topic:**[UIB Setup Information](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/uib-setup-information.md) ## Task Planner component properties Configure Task Planner declarative actions and buttons with these properties. To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type. - **Data binding**: Creates dynamic property values from multiple sources. Sources include state variables \(@state\), URL variables \(@context\), or data resource payloads \(@data\). For details, see [Add and configure data resources to a page](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/add-data-resources.md). - **Scripting**: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/state-parameters.md).
Field Property Description
Toolbar title toolbarTitle Title of the toolbar.
Show row count showRowCount Option to show the number of project tasks for the selected project.
Show help showHelp Option to show the help button on the toolbar.
Columns columns List of column configurations for rendering on Gantt.
Tasks Tasks List of tasks for rendering on Gantt.
Baselines List baselines List of baselines for rendering on Gantt.
Baseline Items List baselineItems List of baseline names to show on Gantt
Zoom level zoomLevel Defines zoom level configuration for the timeline. Available options are: - **Day and Month** - **Month and Quarter** - **Quarter and Year** - **Year** - **autofit**
Date Format dateFormat Format for displaying the dates in the date fields. For example, Start Date and End Date.
Date time format dateTimeFormat Format for displaying the date and time.
Time zone timeZone User's time zone.
Enable read only view readOnly Option to view the Task Planner in read-only mode.
Show Preview record icon previewRecordIcon Option to preview the project or project task record.
Show current timeline hideCurrentTimeLine Option to show the current date on timeline that is shown in the vertical line.
Show start and end timeline showStartEndTimeline Option to show start and end date of the project task on timeline.
Allow move task canMoveTask Option for allowing moving a project task in the Gantt.
Settings panel configurations settingsPanel Option for adding additional tab in the settings panel and customising settings panel tab labels.
Allow task duration change canResizeTask Option for allowing changing the duration of a project task.
Allow dependency creation on Gantt Chart canCreateDependency Option to allow creation of dependency on the Gantt.
Allow switching layout canSwitchLayout Option to switch layout from the column config menu.
Gantt chart layout layout Option to choose between the Gantt Chart layouts. Available options are: - **Grid and Timeline** - **Grid** - **Timeline**
Timeline popover config timelinePopoverConfig Configuration for timeline pop over details such as width, fields, and title.
Enable auto save isAutoScheduledSave Option to enable auto-save for Task Planner.
Enable reorder row reorderRows Option to enable reordering the project task rows.
Reorder row label source column reorderRowsLabelSourceColumn Specifies which column values should be visible when reordering the rows.
Tables for which warning duration is applicable statusProcessEntities Tables for which warning duration is applicable.
Duration in day\(s\) to show attention require status warningStatusDuration Duration in days to show that attention is required for the user based on the status of the project task.
Status Choice statusChoices Option to define choices for the status column of the project task. For example, Green, Yellow, and Red.
Child table name childEntity Child table for the selected project.
State config stateConfig Option to define state for the state column of the project task. For example, Open, Pending, Work in progress, and Closed Complete.
Auto save interval autoSaveInterval Interval in milliseconds for auto-saving the project workspace data.
Save batch size saveBatchSize Size of the batch that will be saved at a time for the project task.
Grid width gridWidth Width of grid part in Gantt.
Delete batch size deleteBatchSize Size of the batch that will be deleted at a time for the project task.
Hide Time Component hideTimeComponent Hides the time value for all the date\_time fields.
Task dependencies dependencies List of dependency between project tasks.
Work schedule workSchedule Schedule of the project. Default value is 10 years \(based on the values of the properties, `com.snc.schedule_loader.project_management.cache_years_before` and `com.snc.schedule_loader.project_management.cache_years_after`\).
On-demand work schedule onDemandWorkSchedule On-demand schedule of the project for the selected range beyond the values of the properties, `com.snc.schedule_loader.project_management.cache_years_before` and`com.snc.schedule_loader.project_management.cache_years_after`.
Date/DateTime Scheduling workScheduleStrategy Date/Time schedule configuration.
Hide timeline hideTimeline Option to hide the Gantt timeline in the project workspace.
Disable save event suspendSaveEvent Option to disable the save event in auto-save mode when the Save API is busy.
Last saved at lastSavedAt Timestamp when the data was last saved in the database in user-display format.
Last saved tasks lastSavedTasks Project tasks that were saved successfully last time in the database.
Retrigger Save retriggerSave Option to execute the save event again when the Save API fails.
Sub project meta data subProjectMetadata Option to send the metadata of a sub project to the parent project.
Blacklisted actions blackListedActions List of actions that are available to exclude. Excluded actions aren't available to the user.
Force Save forceSave If auto-save is false, then the Save option is shown.
Project Preferences projectPreferences JSON object of project preferences.
Hours in a day hoursInADay Defines hours in a day for the project task based on schedule.
Max duration\(in days\) allowed for a task maxTaskDuration Defines the max duration allowed for a project task or the overall project.
Displays Resource Panel showResourcePanel Displays the bottom resource panel grid.
Resource Columns resourceGridColumns List of column configurations for rendering the resource grid.
Resource Assignments resourceAssignments List of assignments for rendering the resource grid.
Resource config resourceGridConfig Resource grid configuration.
Last saved grid assignments lastSavedGridAssignments Last updated assignments in the database.
Resource Allocations resourceAllocations Allocation data for each resource assignment.
Can create project task canCreateTask Option to allow users to create project task on planner.
Is ResourceAssignment Aligned IsResourceAssignmentAligned Indicates whether all resource assignments are aligned with the project.
## Task Planner component events Select event handlers to configure the actions \(events\) provided with the Task Planner component. The Events tab shows the events used by the Task Planner component. To view the available events, select **+ Add event mapping**. Select the event in the list to add one or more event handlers. ### Event handlers Event handlers work with data resources to link the Task Planner actions to the data you want to display to your users. Select the event in the list to add one or more event handlers. For instructions on adding event handlers to an event, see [Configure an event handler](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/event-handler.md). ### Event descriptions |Event|Description| |-----|-----------| |SN\_TASK\_PLANNER\#DATA\_SAVED|Action dispatched when the user saves the updated task data.| |SN\_TASK\_PLANNER\#COLUMN\_RESET|Action dispatched when the user resets the columns.| |SN\_TASK\_PLANNER\#TIMELINE\_ZOOM\_CHANGED|Action dispatched when timeline precision is changed.| |SN\_TASK\_PLANNER\#SUMMARY\_TOGGLED|Action dispatched when display summary task is toggled in the settings panel.| |SN\_TASK\_PLANNER\#BAR\_LABELS\_TOGGLED|Action dispatched when bar labels toggled in the settings panel.| |SN\_TASK\_PLANNER\#DEPENDECY\_LINES\_TOGGLED|Action dispatched when display dependency lines toggled in the settings panel.| |SN\_TASK\_PLANNER\#CRITICAL\_PATH\_TOGGLED|Action dispatched when show critical path toggled in the settings panel.| |SN\_TASK\_PLANNER\#SCHEDULE\_REQUESTED|Action dispatched when the user fetches an on-demand schedule when a schedule is not available.| |SN\_TASK\_PLANNER\#COLUMN\_UPDATED|Action dispatched when the columns are updated.| |SN\_TASK\_PLANNER\#DATA\_REF\_REQUESTED|Action dispatched when the user refreshes the data.| |SN\_TASK\_PLANNER\#PREVIEW\_RECORD\_ICON\_CLICKED|Action dispatched when the user clicks the preview record icon.| |SN\_TASK\_PLANNER\#REALIGN\_ASSIGNMENTS\_TO\_TASK|Action dispatched when realign assignments to task is requested.| |SN\_TASK\_PLANNER\#DIRTY\_DATA\_EXISTED|Action dispatched when either dirty data existed or queued.| |SN\_TASK\_PLANNER\#PLAN\_CLOSED|Action dispatched when the project is closed.| |SN\_TASK\_PLANNER\#PRIMARY\_COLUMN\_CELL\_LINK\_CLICKED|Action dispatched when you click the primary column's cell.| |SN\_TASK\_PLANNER\#LINK\_CLICKED|Action dispatched when the user clicks the dependency link.| |SN\_TASK\_PLANNER\#CREATE\_BASELINE\_REQUESTED|Action dispatched to open or create a baseline.| |SN\_TASK\_PLANNER\#APPLY\_BASELINE\_BTN\_CLICKED|Action dispatched to show the selected baselines.| |SN\_TASK\_PLANNER\#CREATE\_TASK\_DEPENDENCY|Action dispatched to open or create a task dependency.| |SN\_TASK\_PLANNER\#COMPONENT\_CONNECTED|Action dispatched when the SN\_TASK\_PLANNER component is connected.| |SN\_TASK\_PLANNER\#COMPONENT\_TREE\_RENDERED|Action dispatched when the SN\_TASK\_PLANNER component tree is rendered.| |SN\_TASK\_PLANNER\#GRID\_RESIZED|Action dispatched when the grid is resized.| |SN\_TASK\_PLANNER\#SERVER\_ACTION|Action dispatched to save the SN\_TASK\_PLANNER component actions.| |SN\_TASK\_PLANNER\#ADD\_EXTERNAL\_DEPENDENCY|Action dispatched when you click the Add external dependency context menu.| |SN\_TASK\_PLANNER\#OPEN\_PROJECT|Action dispatched when you click the View project context menu.| |SN\_TASK\_PLANNER\#APPROVE\_OR\_REJECT\_RELATIONS|Action dispatched when approve or reject relations context menu action is clicked.| |SN\_TASK\_PLANNER\#SHOW\_ALLOCATION\_HEATMAP|Action dispatched when the Allocation Heatmap is toggled.| |SN\_TASK\_PLANNER\#HEATMAP\_VIEW\_CHANGED|Action dispatched when the Heatmap view is changed.| |SN\_TASK\_PLANNER\#NOW\_RESIZABLE\_PANE\_SIZES\_CHANGED|Action dispatched when the sizes of the panes are changed.| |SN\_TASK\_PLANNER\#BOTTOM\_GRID\_REFRESH\_ICON\_CLICKED|Action dispatched when you click the Grid refresh icon.| |SN\_TASK\_PLANNER\#ALLOCATION\_HEATMAP\_CELL\_CLICKED|Action dispatched when you click the Allocation Heatmap cell.| |SN\_TASK\_PLANNER\#SHOW\_ACTUALS\_TOGGLED|Action dispatched when Show actuals is toggled.| |SN\_TASK\_PLANNER\#EFFORT\_TYPE\_VIEW\_CHANGED|Action dispatched when Effort type view is changed.| |SN\_TASK\_PLANNER\#VIEW\_STORIES\_FOR\_AGILE\_TASK|Action dispatched when view stories is clicked for agile phase type tasks.| |SN\_TASK\_PLANNER\#SIDE\_PANEL\_CLOSED|Action dispatched when side panel is closed.| |SN\_TASK\_PLANNER\#EXTEND\_RESOURCE\_ASSIGNMENT|Action dispatched when extend is selected on a resource assignment.| |SN\_TASK\_PLANNER\#MOVE\_RESOURCE\_ASSIGNMENT|Action dispatched when move is selected on a resource assignment.| |SN\_TASK\_PLANNER\#DATA\_DISPATCH|Action dispatched when dataRequested value is set.| |SN\_TASK\_PLANNER\#COLUMN\_PERSONALIZE\_REQUESTED|Action dispatched when column personalization is requested.| |SN\_TASK\_PLANNER\#ASSIGN\_RESOURCE\_ASSIGNMENT|Action dispatched when assign work is selected on a resource assignment.|