Project Management uses the type hierarchy defined for the Task Management
type to determine the rules behind the creation of the task schedule.
For example, some customers may
want to ensure that a project can only have "Phase" as parent tasks or summary tasks. By
default, there is only one subtype and it is called "Task."
When importing a project
from an ASCII file, only the standard task type can be used. The ASCII import does not
currently recognize additional task types.
Here are examples of two task
hierarchies:

If you create a task under the project node with Structure 1, the task types you
have available include Task and Phase. If you create a child task of Phase, you can choose
SubPhase1 or SubPhase 2 as the task type. If, however, you create a child of SubPhase 2,
which does not have any children, the system lets you select from a list of SubPhase 3 and
any of its siblings that also include SubPhase 1.
If you created a task under the
project node with Structure 2, the task types available include Task, SubTask1, Phase,
SubPhase1, SubPhase 1.1 and SubPhase 2. When you create a child of any of these tasks, since
they do not have children, the parent and all its siblings are displayed.
To add
additional task types to the schedule, follow these steps:
- Log into MQL as a user with business administrator privileges.
-
Create a new subtype that is derived from Task Management.
MQL> add type "TYPE_NAME" derived "Task Management" attribute Status;
where TYPE_NAME is the type that you want to create.
Subtypes called Milestone and Phase are common customizations.
The Status attribute from type Task should be added to any type derived from Task Management.
-
Assign attributes to the new subtype as required. It automatically inherits all
attributes of Task Management.
-
Assign the new subtype to the Project Task policy or to a custom policy.
To get the same access model used for the Project Task policy, create any new custom policies by
duplicating the existing Project Task policy.
All policies for task types must have a state registered as state_Complete for filters and triggers.
-
Extract emxCommonMappingFile.properties from common.jar and edit the file to contain the new subtypes.
For example, if adding a new subtype called Phase, the line in emxCommonMappingFile.properties would look like: type_Phase=com.enovia.apps.common.Task
- To register the subtype and policy:
- Log in to Project Management with Business Admin privileges.
- From the Compass, click Social and Collaborative
Apps
and select Admin Tools > Property Registration > Admin Types.
You see the Admin Type Property Registration page.
-
From the Admin Type list, select Type.
-
Select Project Space from the Registered Admin's list and
select the new project subtype from the Un-Registered Admin’s list. Then click the
Retrieve Registration button.
- Change the Symbolic Name text field to type_[subtype name].
- Select the Installed Date from its calendar field.
- Click the Create Registration button.
You see the new subtype under the Registered Admin's list.
-
Add the new subtype (and any new policies) to the Framework string resource file:
- Open emxFrameworkStringResource.properties, located in ENOVIA_INSTALL/properties.
- Add a key and value for the new type using the format emxFramework.Type.NAME=DISPLAY_NAME.
For example: emxFramework.Type.Milestone=Milestone
-
Repeat these steps for each language and new type/policy, as required.
- Create a copy of the policy to apply to the subtype.
- Log into MQL as a user with business administrator privileges.
- To create a copy of the policy to apply to the created subtype above, use the following syntax:
MQL> copy policy "Project Task" "POLICY_NAME";
where POLICY_NAME is the name of the policy that you want to create.
- Rebuild the archive files and restart the server.
-
Verify that the new subtype is listed in Project Management by adding a new task to a project. The Task Type list
should include all new subtypes. If multiple policies exist, the New Task page includes
a policy list.