1e41f4b71Sopenharmony_ci# Page Stack and MissionList
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ci## Page Stack
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ciA single UIAbility component can implement multiple pages and redirection between these pages. The redirection relationship inside the UIAbility component is called page stack, which is managed by the ArkUI framework. For example, Page1 -> Page2 -> Page3 of UIAbility1 and PageA -> PageB -> PageC of UIAbility2 in the figure below are two page stacks.
7e41f4b71Sopenharmony_ci
8e41f4b71Sopenharmony_ci**Figure 1** Page stack
9e41f4b71Sopenharmony_ci
10e41f4b71Sopenharmony_ci![mission-record](figures/mission-record.png)
11e41f4b71Sopenharmony_ci
12e41f4b71Sopenharmony_ci- A page stack is formed as follows (Steps 2, 3, 5, and 6 are page redirection and managed by ArkUI):
13e41f4b71Sopenharmony_ci  1. Touch the icon on the home screen. The [startAbility](../reference/apis-ability-kit/js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartability) method is called to start UIAbility1, whose initial page is Page1.
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci  2. Touch a button on Page1. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is called to redirect you to Page2.
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci  3. Touch a button on Page2. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is called to redirect you to Page3.
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ci  4. Touch a button on Page3. The [startAbility](../reference/apis-ability-kit/js-apis-inner-application-uiAbilityContext.md#uiabilitycontextstartability) method is called to start UIAbility2, whose initial page is PageA.
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci  5. Touch a button on PageA. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is called to redirect you to PageB.
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci  6. Touch a button on PageB. The [Navigator](../reference/apis-arkui/arkui-ts/ts-container-navigator.md) method is called to redirect you to PageC.
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci- The page stack return is as follows (Steps 1, 2, 4, and 5 are page redirection and managed by ArkUI):
26e41f4b71Sopenharmony_ci  1. Touch the **Back** button on PageC of UIAbility2 to return to PageB.
27e41f4b71Sopenharmony_ci
28e41f4b71Sopenharmony_ci  2. Touch the **Back** button on PageB of UIAbility2 to return to PageA.
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ci  3. Touch the **Back** button on PageA of UIAbility2 to return to Page3 of UIAbility1.
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ci  4. Touch the **Back** button on Page3 of UIAbility1 to return to Page2.
33e41f4b71Sopenharmony_ci
34e41f4b71Sopenharmony_ci  5. Touch the **Back** button on Page2 of UIAbility1 to return to Page1 of UIAbility1.
35e41f4b71Sopenharmony_ci
36e41f4b71Sopenharmony_ci  6. Touch the **Back** button on Page1 of UIAbility1 to return to the home screen.
37e41f4b71Sopenharmony_ci
38e41f4b71Sopenharmony_ci
39e41f4b71Sopenharmony_ci## MissionList
40e41f4b71Sopenharmony_ci
41e41f4b71Sopenharmony_ciAs described above, you can keep touching the **Back** button on the page of Ability2 to return to a page of Ability1. The MissionList records the startup relationship between missions. If Ability1 starts Ability2 through **startAbility()**, a MissionList is formed: Ability1 -> Ability2. Therefore, when you touch the **Back** button on the initial page of Ability2, a page of Ability1 is displayed.
42e41f4b71Sopenharmony_ci
43e41f4b71Sopenharmony_ciThe mission startup relationship recorded by the MissionList may be broken in the following cases:
44e41f4b71Sopenharmony_ci
45e41f4b71Sopenharmony_ci- A user moves a mission in the middle of the MissionList to the foreground.
46e41f4b71Sopenharmony_ci  ![mission-chain1](figures/mission-chain1.png)
47e41f4b71Sopenharmony_ci
48e41f4b71Sopenharmony_ci- A user deletes a mission in the MissionList.
49e41f4b71Sopenharmony_ci  ![mission-chain2](figures/mission-chain2.png)
50e41f4b71Sopenharmony_ci
51e41f4b71Sopenharmony_ci- A UIAbility singleton is repeatedly started by different missions (including other abilities or the home screen). For example, AbilityB in the figure below is a singleton.
52e41f4b71Sopenharmony_ci  ![mission-chain3](figures/mission-chain3.png)
53