---
title: "Perform a Simulation"
description: "Run a simulation in Identity Manager to preview role and rule changes, review the Excel report, then apply or cancel them before they reach the role model."
sidebar_position: 20
---

# Perform a Simulation

How to assess the impact of a modification on the role model, including the role catalog, role assignment **rules** and resource correlation **rules**, using a dedicated [Create a Policy](../../configuration/optimize/policy-creation.md). See the [Create **roles** in the Role Catalog](../../configuration/set-up/single-roles-catalog-creation/index.md), [Automate Role Assignments](../../configuration/optimize/assignment-automation/automate-role-assignment.md)[Correlate Resources](../../configuration/set-up/categorization/correlation.md), and [Create a Policy](../../configuration/optimize/policy-creation.md) topics for additional information.

## Overview

Identity Manager's simulations gather **roles** and **rules** which are to be created, modified or deleted, without being inserted in the actual role model straight away. More specifically, a simulation can involve:

- Correlation **rules** and classification Rule;
- Scalar **rules** and navigation **rules**;
- Resource Type **rules**;
- [Single Role](../../integrations/toolkit/xml-configuration/provisioning/singlerole.md)
and [Bundle](../../integrations/toolkit/xml-configuration/provisioning/compositerole.md);
- [Single Role Rule](../../integrations/toolkit/xml-configuration/provisioning/singlerolerule.md)
and [Bundle Rule](../../integrations/toolkit/xml-configuration/provisioning/compositerolerule.md).

See the [Correlate Resources](../../configuration/set-up/categorization/correlation.md) [Resource Classification Rule](../../integrations/toolkit/xml-configuration/provisioning/resourceclassificationrule.md), and [Resource Type](../../integrations/toolkit/xml-configuration/provisioning/resourcetype.md) topics for additional information.

A simulation can also be created by the [Perform Role Mining](../../configuration/optimize/assignment-automation/role-mining.md) for the automation of role assignments.

Through simulation, integrators can:

1. create, modify or delete **roles** and **rules** in a given policy;

Only one simulation can be active per policy.

2. observe via simulation reports the impact on the whole system, i.e. both assignments and
provisioning results, before the changes are applied;
3. decide to confirm or cancel changes.

NETWRIX recommends using simulation whenever performing an action (creation/modification/deletion) on the role model.

## Participants and Artifacts

Integrators can perform simulation if they master the new role model.

 | Input | Output | 
 | --- | --- | 
 | Role catalog (optional) Automate Role Assignments (optional) Categorize Resources (optional) | Updated role model | 

See the [Create **roles** in the Role Catalog](../../configuration/set-up/single-roles-catalog-creation/index.md), [Automate Role Assignments](../../configuration/optimize/assignment-automation/automate-role-assignment.md), and [Categorize Resources](../../configuration/set-up/categorization/index.md) topics for additional information.

## Launch a Simulation

Launch a simulation by proceeding as follows:

1. Access the simulation list by clicking on **Simulations** on the home page, in the
**Configuration** section.

    ![Home - Simulations](/images/identitymanager/home_simulations_v600.webp)

    ![Simulation List](/images/identitymanager/simulation_list_v602.webp)

2. Create a new simulation by clicking on the addition button at the top right corner.

    ![Addition Icon](/images/identitymanager/iconadd_v602.svg)

3. Fill in the fields.

    ![Simulation List](/images/identitymanager/simulation_new_v602.webp)

4. Click **+ Create**.
5. Perform changes through the ****roles** Changes** and ****rules** Changes** tabs and the following icons,
respectively for addition, modification and deletion:

    ![Edition - Approval Icon](/images/identitymanager/iconadd_v602.svg)

    ![Recommendation Icon](/images/identitymanager/simulation_iconedit_v600.svg)

    ![Discouragement Icon](/images/identitymanager/simulation_icondelete_v600.svg)

At any time, you can click the line of a previously made change to access its description, even click **Cancel** to erase it.

    ![Cancel Change](/images/identitymanager/simulation_cancel_v602.webp)

6. Click **Start** to launch the simulation.

    ![Start Simulation](/images/identitymanager/simulation_start_v602.webp)

7. After a few seconds, click **Refresh** to display the simulation results.
8. Observe the results in the overview and in the Excel report available via the Download button.

    ![Download Icon](/images/identitymanager/icondownload_v602.svg)

## Shift from Simulation to Production

After all needed changes have been simulated, you can decide to apply or cancel them.

![Apply or Cancel Changes](/images/identitymanager/simulation_decision_v600.webp)

Then, the simulation is no longer active.

Clicking on **Apply** applies the simulated changes to the role model. You need to launch the [Compute Role Model Task](../../integrations/toolkit/xml-configuration/jobs/tasks/server/computerolemodeltask.md) to observe the actual changes in users' entitlements.

## Impact of Modifications

Once you've applied or canceled the changes of a simulation, said simulation is no longer active. If you still need to simulate changes on the same policy, you can create a new simulation.

Deleting a simulation doesn't impact the role model. It simply undoes the simulated changes which haven't been applied yet.

## Verify Modification

to verify the process, check that the **roles** and **rules** are created with the right parameters.

For **roles**, click **Access **roles**** on the home page in the **Configuration** section.

![Home Page - Access **roles**](/images/identitymanager/home_roles_v602.webp)

Select the type of role that you want to check, and find the **roles** you created inside the right category and with the right parameters.

![Select **roles**](/images/identitymanager/categorycreation_test_v602.webp)

For **rules**, click **Access **rules**** on the home page in the **Configuration** section.

![Home Page - Access **rules**](/images/identitymanager/home_rules_v602.webp)

Select the type of rule that you want to check, and find the **rules** you created with the right parameters.

