Configuring Multiple Policies for Requests

This section describes the procedure to create and register multiple policies for requests.

For details on functions using Modeling Studio components such as, Business, MQL, System, and Matrix, see ENOVIA Modeling Studio Guide.

  1. Create a new policy using MQL.
  2. Associate Policy with respective Request Types by adding the Governing types.
  3. Associate policy with states by adding states.

    Note: Ensure that the role NPD Engineers have the same access rights to each state for the new policy as the Part Request policy. A New Request Policy should have the last two states as Complete and Cancelled.

  4. Replicate the triggers from Part Request policy on the new policy.
  5. For each state, select object access for Owner and Public.
  6. Select the format as Generic.
  7. Log in to ENOVIA as Administration User.
  8. Click > Admin Tools > Property Registration >Admin Type.
    In the Admin Type Property Registration page, enter the following information:
    Field NameDescription
    Admin TypeSelect policy from the drop down list.
    Registered AdminsClick Retrieve Registration to retrieve all the registered admins.
    Symbolic NameEnter the name of the policy in the format, policy_<PolicyName>, where the <PolicyName> should be the name of the policy and should not contain any spaces.

    For example, policy_DocumentRequest.

    ApplicationEnter as NPD.
    VersionEnter the version number.
    InstallerEnter the Installer name.
    Installed DateSelect the Installed Date.
    Original NameEnter the original name of the policy.
  9. Click Update Registration to update the Policy details, if new governing types are added or details such as Installer Date are modified.
  10. Click Create Registration to register the new policy and click Close.
  11. Click > Admin Tools > Property Registration > States.
  12. In the State Property Registration page, enter the following information:
    Field NameDescription
    PolicySelect the new policy that you registered in step 10.
  13. Select a state name under State Names and specify the Property Name. The format of the Property Name should be, state_state name.
  14. Click Create.
    The registered state is displayed under the Property | Assigned State section. The format of the registered part is, state_state name | state name.

    For example, state_Publish | Publish.

  15. In emxNPDAccelerator.properties file, add the following settings in the string,
    NPDAccelerator.<PolicyName>.MandatoryStates = <State names>
    where,
    <PolicyName> is the name of the new policy. There should not be any spaces in the policy
    name.
    <State names> is a comma separated list of the actual name of the registered states. The format
    of the state should be, State_<State Name>.
    For example,
    NPDAccelerator.DocumentRequest.MandatoryStates = State_Review1,
    State_Publish
  16. The new policy and the states for that policy is available in the Request Type Admin Settings page.

    Note: A New Request Policy should have the last two states as Complete and Cancelled. The Request Type Admin Settings page will dynamically display all the state columns except the first and the last two states of the policy.