OBLYTECH Logo
OBLYTECH Logo

ServiceNow Project Templates: Create, Copy and Apply

A ServiceNow project template stores the structure of a project so you can start new work from it. You can build one from a project you have already set up, or copy an existing template. Templates hold project tasks, attachments and checklists, and you can use one to start a new project or apply it to one already running.

A project template holds the structure of repeated work

A template is built on the Project table. On the Project Template form, the Table field is display only and shows the project record type. The form also carries a Name and a Description.

The core of the form is the Template section, a set of columns. Click a field in the left column and select the field name, then click the field in the right column to enter its value. Some fields, such as money fields, open a third column for extra detail such as the currency. To remove a field, select the X to the right of it. To add one, use the blank entry at the bottom of the list. Select Update to save.

Two related lists sit beneath the form. Project Template Tasks shows the tasks the template holds. Attachments shows the files attached to the template. To add a file, open the template, open the Attachments tab, select New, select Browse, choose the file and select Attach. Create Project and Copy Template sit in the related links at the bottom of the form. For the wider concept of a project workspace, see project workspaces explained.

Building a template from a project you have already set up

The quickest route starts from a project that already runs the way you want. Navigate to All, then Project, then Projects, then All, and open that project. At the bottom of the form, in the related links, select Save as New Template.

The Create Template dialog asks for two values. The template name has to be unique across your templates. The description is a brief note about the new template. Select OK, and the project template form opens for the new template. Review its fields, make any changes, and select Update.

Several things come across automatically. All of the project’s attachments and checklists are copied into the template. If the source project is an off-schedule project, its off-schedule tasks stay in the template. Projects later created from that template honor those tasks and move their dates to the start date you enter.

Copying a template that is already close to what you need

If a template is close to the work in front of you, copy it rather than starting from a project. Navigate to All, then Project, then Projects, then Templates, and open the template. At the bottom of the form, select Copy Template.

The copy dialog fills in the Template field with the current template name. Read that name before you save. The copy is saved as a separate template, so you can edit it and create projects from it without changing the original.

Creating a new project from a template

The Create Project related link on the template form creates a new project from that template in one step. The project is built from what the template holds, so you start from the saved structure rather than a blank record.

You can also start from the Project form. Navigate to All, then Project, then Projects, then Create New, and select the link next to To create project from a template. In the Apply Template window, enter the project name, select the start date, then select the template.

Applying a template to a project that already exists

Applying a template to an existing project is a task for the project manager role. One template or several can be applied, from either the Project form or the Planning Console. For how these project records fit into the wider portfolio work, see PPM implementation best practices.

Applying from the Project form

Navigate to All, then Project, then Projects, then All, and open the project. What you select next depends on what the project already contains. If it has no tasks and no subprojects, select the To apply template click here link, then select the start date and the template. If it already has tasks or subprojects, select the Apply Template related link instead.

Applying from the Planning Console

Open the project and select the Planning Console related link. In the Planning Console, select the more actions icon and then Apply Template. In the Apply template dialog box, choose a template from the Project template list and select Save. To apply several templates, repeat the steps for each one.

What changes when you apply a template

Two effects matter whenever a template is applied to a project. The first concerns tasks. If the project already has project tasks, applying a template does not carry over the template’s header information. It adds the template’s tasks after the last task already in the project. Each further template adds its tasks to the end too.

The second concerns the project state. When a template is applied, the project state is set to the default state, held in the project record as pm_project.state = -5. That default state is labeled Pending. If Pending does not suit your team, the label on the State field can be changed.

Deciding what a template copies with the configuration list

Which record types a template includes, and which fields are carried for each one, is controlled by the Project Template Configuration list. Navigate to All, then Project Administration, then Settings, then Template Config to open it.

Each item describes one record type a template can include, and has four parts. Before you change this list, a short overview of the product helps; see what project portfolio management is. The Table is the record type being copied. The Parent table is the record type the item sits under. The Link element is the field that connects the child record to its parent. The Elements field is a comma-separated list of the fields from that table that are copied into the template.

The list ships with three default items, which form a chain:

Configuration item Table Parent table Link element Position in the chain
Project pm_project None None Root object, the top of the chain
Project task pm_project_task pm_project Parent One level below the project
Project subtask pm_project_task pm_project_task Parent Two levels below the project

The root item has no parent and no link element. Each task-level item links to its parent through the Parent field, which ties each task to its project and each subtask to its task.

Each item also carries an Active check box, which marks the item as included in a template. The Elements field sets which fields travel with it, so check that list when you set up a template for a new kind of project.

Adding and changing configuration items

Adding a configuration item is how you extend templates beyond the default record types. This takes the PPS admin role, shown as it_pps_admin. Navigate to All, then Project Administration, then Settings, then Template Config. Select New, fill in the Project Template Configuration form, and select Submit.

Each new item needs four things: a table, which is the record type to copy; a parent table, which is the record type it sits under; a link element, which is the field connecting the new record to that parent; and a comma-separated list of fields in the Elements field. Then select the Active check box.

One worked example is a requirement record. Its table is dmn_requirement, its parent table is pm_project, and its link element is Parent. The Active check box is enabled, and the Elements field lists short_description, description, priority, type and state. Use it as a model, and check each name in your own Elements list against the table before you save.

Changing an existing item uses the same list. Select the item, change its fields on the Project Template Configuration form, and select Update. This also takes the PPS admin role.

Deleting needs care. Do not delete the three default items: project, project task and project subtask, because deleting them affects your ability to create project templates.

Roles that work with templates

Two roles carry the template work. The full set of responsibilities across this kind of work is laid out in the PPM roles and RACI guide, and the product hub that groups these pages is the project portfolio management section.

The project manager role, shown as it_project_manager, handles day-to-day template work. It creates templates from projects or by copying existing ones, adds attachments to a template, creates projects from templates, and applies templates to existing projects.

The PPS admin role, shown as it_pps_admin, controls the structure behind the templates. It modifies the Project Template Configuration list, adding, changing and deleting its items. A project manager who needs a new record type in templates needs someone with this role to make that change.

Frequently asked questions

Who is allowed to create a project template?

The role needed is it_project_manager, the same role that can attach files to a template and apply one to an existing project.

What does a template keep from the project it was built from?

When a template is created from a project, all of the project’s attachments and checklists are copied into it. Off-schedule tasks stay in the template too, and projects created from it move their dates to the start date entered.

Can I apply a template to a project that already has tasks?

Yes. The template’s tasks are added after the last task already in the project. The template’s header information is not applied in that case, and the project state is set to the default state, held as pm_project.state = -5.

Why does a copied template need a name of its own?

The copy dialog pre-fills the Template field with the current name, and the copy is saved as a separate template. A template built from a project needs a name that is unique across templates.

Do the three default configuration items need to stay in place?

Yes. Project, project task and project subtask are the defaults, and deleting any of them affects your ability to create project templates.