---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Task Planner component setup

# Task Planner component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 8 minutes to read  
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://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
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://www.servicenow.com/docs/pDkQCrv3m_59IA2HbmhMBA "Learn how to use the basics of UI Builder to create a page called My Tutorial.").  
   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://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.") .
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.

   {#task-planner-component-uib-setup__choices_qwc_fj1_j4b}  
   The property fields appear in the Config tab in the setup panel on the right.
{#task-planner-component-uib-setup__steps_pwc_fj1_j4b}

## Task Planner component properties {#ariaid-title2}

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://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#task-planner-config-properties__choices_4jq_bp0_csl}
{#task-planner-config-properties__table_yqj_kj1_j4b__entry__3}

| 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 {#task-planner-config-properties__ul_q1j_5yz_nsb} |
| 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 {#task-planner-config-properties__ul_s1r_1rh_dxb} |
| 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-config-properties__table_yqj_kj1_j4b}

## Task Planner component events {#ariaid-title3}

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 {#task-planner-config-events__section_bvx_cnz_5wb}

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://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").

### Event descriptions {#task-planner-config-events__section_fxv_cnz_5wb}

{#task-planner-config-events__table_dwx_mj1_j4b__entry__2}

| 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. |
[ ]

{#task-planner-config-events__table_dwx_mj1_j4b}

