---
sourceDocument: Zurich Governance, Risk, and Compliance
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/zurich/governance-risk-compliance

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich Governance, Risk, and Compliance

ft:clusterId :

    - grc

bundleId :

    - grc

workflow :

    - Technology


---

# Using nested plans

# Using nested plans {#ariaid-title1}

Release version: Zurich  
Updated July 31, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 7 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Using nested plans

The nested plans feature in ServiceNow, updated through the Zurich and Yokohama releases, automates the creation of multi-level plan hierarchies within an event.
This reduces manual effort, improves system performance, and enhances the management of recovery plans by allowing customers to add and visualize complex plan dependencies and hierarchies up to 10 levels deep.
It is controlled by a configurable system property that determines the depth of plan activation within an event.
Show full answer Show less  

## Key Features

* **Automatic Nested Plan Creation:** When a plan is added to an event, its related plans and their entire hierarchy are included automatically based on the configured depth level.
* **Plan Types:**
  * **Primary Activated Plans:** Plans manually added to an event.
  * **Child Plans:** Plans associated with recovery tasks, created as child plans within the event.
  * **Related Plans:** Plans not associated with recovery tasks, created as related plans but not child plans.
* **Configurable Plan Levels:** The `snrecovery.maxactivatedplanlevels` property sets how many levels of plans are activated in an event, from only manually added plans (level 1) up to 10 levels deep.
* **Event Task Hierarchy Views:** Users can switch between list view (editable), hierarchical view (read-only, shows plan dependencies), and full page view for comprehensive navigation and management of event tasks and plans.
* **Cross-Plan Dependencies:** Dependencies can be configured between first-level activated plans and their event tasks, improving coordination of plan execution. Child plan event tasks inherit dependencies from parent plans automatically and cannot be manually linked across plans.
* **Task Order Synchronization:** The `snrecovery.synctaskordercalculationlimit` property controls asynchronous recalculation of event task order when dependencies are updated, with a user-triggered refresh button available when limits are exceeded.

## Practical Use and Benefits

* ServiceNow customers can easily manage complex recovery scenarios by automatically including all related plans and dependencies, reducing manual configuration and errors.
* Visualization tools such as hierarchical and full page views provide clear insight into plan structures and task dependencies, enhancing planning and execution efficiency.
* Configurable depth and dependency settings allow tailoring of plan activation to organizational needs, supporting scalable and flexible recovery workflows.
* Automatic inheritance of dependencies in child plans ensures consistency and integrity of recovery task sequencing without manual intervention.

## How It Works

To create nested plans within an event:

1. Create an event and add a primary plan.
2. The system triggers events to automatically create related and child plans based on task associations and the configured maximum plan levels.
3. Event assets and tasks are generated, with child plans inheriting relevant dependencies from parent plans.
4. Users can track progress of plan creation via the Progress tracker and refresh views to see updates.

This feature ensures that all relevant plans, tasks, and dependencies are included and properly sequenced, streamlining recovery planning and execution in ServiceNow.  
Configure a system property to control activated plan levels in an event. The system automatically creates nested plans within an event, reducing the manual effort of adding plans and improving system performance. You can also
add dependencies between multiple activated plans by updating the Dependencies field in the event tasks.

## Changes in the plans and events {#creating-nested-plan-in-event__section_dz4_qq1_zdc}

Beginning with the Yokohama release, new changes in the plans and events focus on the planning phase and the creation of related plans.  

Associating related plans with recovery tasks

:   You can now associate related plans with recovery tasks, helping you identify and manage plan triggers during recovery.

    A new field, Is associated to task, has been added to the Related Plans table.
    If a related plan is associated with a recovery task, the field is set to True. If it is not associated, the field is set to False.  
    Note:  
    When a related plan listed in the Related plans tab is associated with a recovery task, it is created as a child plan in the event. If not associated with any task, it is created as a related plan but not as a child plan.

## Adding a plan to the event {#creating-nested-plan-in-event__section_epc_xfd_12c}

When a plan is added to an event, its related plans and their entire hierarchy are included. Plans manually added to an event are called primary activated plans.
Plans without task associations are called related plans. Plans associated with recovery tasks are called child plans.

## Using a hierarchy of the plans {#creating-nested-plan-in-event__section_g4r_5q1_zdc}

Previously, only the primary plan and its directly related plans were included in an event. With the Yokohama release, you can set the sn_recovery.max_activated_plan_levels property to control the depth of activated plans in events, up to 10 levels.  

Resetting the property for activated plan levels
:   You can customize the sn_recovery.max_activated_plan_levels property as shown in the examples to control the levels of activated plans that are created in an event.

    * Set the property to 1 to create only the plans added manually.
    * Set the property to 2 to create only the primary plan and its first-level related plans.
    {#creating-nested-plan-in-event__ul_bth_n2b_b2c}

## Sample use case for a multi-level plan {#creating-nested-plan-in-event__section_mvk_wrt_12c}

You can add a multi-level hierarchical plan to an event. Consider the use case where the system property is configured and a few related plans have
recovery tasks associated with them. An event is created where the related plans are added to the event.

The primary plan, Plan 1, has Plan 2 and Plan 3 as related plans. Plan 1 includes three recovery tasks: Task 1, Task 2,
and Task 3. Task 2 has Plan 2 as a related plan.

Similarly, Plan 2 has three recovery tasks: Task 1, Task 2, Task 3. Plan 1 triggers Plan 2, and Plan 2 triggers Plan 4 as shown in the example.

Before the nested plan functionality, adding Plan 1 to an event included only its direct related plans. Plans 2 and 3 were added, but deeper levels like Plan 4 were not. With nested plan functionality, plans up to 10 levels
deep can be added to the hierarchy.

When you create an event and add Plan 1, its related plans, assets, and tasks are automatically included. Select View progress to open the Progress tracker window. The
window shows the progress and status of adding plans, assets, tasks, and related plans, and the background process steps.

Once all processes are completed, a message prompts you to refresh the page to see the latest updates. You can close the message and then view the created plans and event tasks.

As shown in the example, Plan 1 is the
primary plan. Plan 3 is marked as a related plan of Plan 1 because it is not associated with any recovery task. Plan 2 and Plan 4 are child plans because they are associated with recovery tasks.

Event tasks: Event tasks are shown in the list view by default. Switch to the hierarchical view to display the hierarchy, with primary and related plans at the top level.

The example illustrates the hierarchy of event tasks and plans, with the primary plan (ACP0010118) and related plan (ACP0010119) at the top level.

* Plan 1 (ACP0010118) has three event tasks. The second event task (EVNTSK0010321) triggers Plan 2 (ACP0010120), and another event task (EVNTSK0010324) triggers Plan 4.
* Plan 3 (ACP0010119) has no related activated plan.
* Two child plans (ACP0010120 and ACP0010121) are shown at child levels.

{#creating-nested-plan-in-event__ul_dxx_4fn_b2c}

## Navigating between the list view, hierarchical view, and full page view {#creating-nested-plan-in-event__section_fch_j3d_12c}

While working on event tasks, you can navigate between the list view, hierarchical view, and full page view.

List view
:   Arranges event tasks in a list format, making it easy to read and quickly understand the hierarchy. It helps you to scan and find specific information without sifting through lengthy text.

Hierarchical view
:   Visualizes plan dependencies and the order of event tasks. By default, the system shows only primary and related plans in the list view. Switch to the hierarchical view to see the full plan hierarchy.  
    Note:  
    You can edit event task and plan information in the list view, but the hierarchical view is read-only. The Work-breakdown structure (WBS) arranges tasks based on their dependencies. For an activated plan, the WBS order is calculated
    considering both event task and plan dependencies.

Full page view
:   Allows you to see more tasks at once, providing a comprehensive overview of the plan hierarchy and tasks. You can switch between the list, hierarchical, or full-page views.

To return to the original record, select the Back to record button.

## Records per level {#creating-nested-plan-in-event__section_sbt_xq1_zdc}

UI navigation
:   By default, only 10 plans are shown at the first level. If there are more, select the Show more button to display additional records. For example, if there are 100 plans, only 10 are shown initially, and
    selecting Show more loads the next set.

## Configuring cross-plan dependencies {#creating-nested-plan-in-event__section_b4h_bjd_12c}

You can configure cross-plan dependencies by updating the Dependencies field as shown in the example.  
Note:  
You can only add dependencies between first-level activated plans.

The example shows an activated plan (ACP0010119) that depends on another activated plan (ACP0010118). Similarly, an event task (EVNTSK0010326) can start only after its dependent task (EVNTSK0010322) is completed.  
Note:  
An event task from a primary or related plan can be associated as a dependency with an event task from the same or another primary or related plan. An event task from a child plan can only be associated as a dependency within the same child plan.

Dependencies for a child plan's event tasks aren't configured manually. During the nested plan process, the child plan inherits matching dependencies from the direct parent plan's recovery tasks.
These dependencies are carried forward automatically into the child plan's event tasks.

Whenever any event task is updated, as shown in the example, a message indicates that the event tasks have
been updated. Selecting Refresh loads the updated data.

You
can add task dependencies in primary and related plans, but not in child plans. For an event task in a child plan, dependencies can only be selected from the same child plan. For example, in Plan 4, task 3 (EVNTSK0010331) depends on
tasks (EVNTSK0010329 and EVNTSK0010330) within the same child plan.

When adding task dependencies in primary and related plans, only tasks from other primary or related plans are available for selection in the Dependencies field.

## Configuring the property to refresh the event task order {#creating-nested-plan-in-event__section_tyk_151_zdc}

Whenever task dependencies are updated, the event task order is updated. The sn_recovery.sync_task_order_calculation_limit property sets the limit for asynchronous calculation to 500 tasks by default. When the
task count exceeds this limit and dependencies are updated, the task order calculation becomes asynchronous. A Refresh tasks order button appears in the event, event task, and activated plan. Select this
button to refresh the event task order.

## Process of creating a nested plan {#creating-nested-plan-in-event__section_wby_nzd_12c}

Previously, related plans were created only for primary activated plans. Starting with the Yokohama release, related activated plans can be created from an event task for all activated plan types. An example of creating a nested plan is shown in the diagram.

Follow these steps to create a nested plan:

1. Create an event.
2. Add a plan to the event. An activated plan is created with the plan type set as primary.
3. An event is triggered to create related plans. If the plan has no task associations and its level is below the property-defined default, an activated related plan is created.
4. An event is created to generate one or more event assets.
5. After the assets are created, an event is triggered to create event tasks.
6. If the event task has a related plan and its level is less than the property-defined level, an activated child plan is created.
7. After the child plan's event tasks are created, the system checks the direct parent plan's recovery task dependencies. Any matching dependencies are carried forward into the corresponding event tasks of the child plan.
{#creating-nested-plan-in-event__ol_uj5_d4b_b2c}

