Creating a policy

This procedure describes how to create a policy.

  1. Invoke the Policy Wizard following the navigation details
  2. In the first page of the wizard specify the Studio project, instance Namespace, and also specify the target for this Policy.
    1. Select the Project and the Namespace you want to associate to the policy.
    2. Enter the Name for the policy.
    3. Select the Target for the policy using the Browse button. Using the Browse button invokes a dialog box which shows all available objects on which you can create policies.
    4. Select the appropriate type and instance.
    5. Click OK.
    6. Select the Start Date and the End Date for this by double clicking on the date.
    7. Click Next.
  3. This page of the wizard provides policy content.
    1. Select the appropriate option based on the whether you want the policy to be activated with all or any one of the criteria below.
    2. Click Add; this brings up a dialog box where you can select the objects.
    3. Select the Object Type from the list.
    4. Select the desired instance from the list.
    5. Repeat the process for the number of instances you want to add.
    6. Click OK.
  4. This page of the wizard provides policy content. Select the appropriate option, based on whether you want the policy to be enabled with all the criteria set as true; or only a select number of criteria set as true.
    1. Click Add to bring up an object selection dialog box.
    2. Select the Content Type.
    3. Select the comparison operation.
    4. Click Add Content. This brings up another dialog box with and an editor tailored to the assertion type you selected for your content.
    5. Enter the values for your assertion properties using the provided controls.
    6. Click OK. This brings you back to the Content Selection dialog.
    7. Click OK. This brings you back to the Policy Wizard.
    8. Repeat the process to add more content. .
    9. Click Finish.

Once this process is complete the policy is created. You must add the Contract (Assertions) to the policy using the Editor. For details on Working with assertions refer to the Adding assertions topic.

Navigation

Right-click Any Object (Business Services Explorer) > New > Policy

Related concepts
Establishing service levels
Working with a dynamic assembly simulation
Related reference
Working with the policy editor
Understanding policy models