Activity series types
Activities can be part of a series of activities. E.g. a test campaign can consist of several tests which are executed in a certain order. Therefore, PeakTMS allows to define activity series types which can be used to create a series of activities.
The activity series type list view
The list view provides you with an overview over all currently registered activity types. You can use the table headers to define filters or to change the column width and order. Pressing the column chooser icon will give the possibility to add additional columns, e.g. about the change history.

Overview registered resource types
Definition of general information
A general information section contains the following information.

Genreal settings of activity series types
Name Manual id Calendar index Display attribute Description Used in assign resource list Log change? Allow splitting? Allow relation? Project option Location option Data pools Icon Default columns Composite unique Allowed activity types Definition of dynamic attributes
Additionally to the general information, each resource type can have a set of dynamic attributes which are used to describe the resource. Attributes are grouped into named groups. Each attribute has a type which defines the input method and the data type of the attribute. Please refer here for available attribute types: Dynamic attributes types.

Example of dynamic attributes of a resource
In this area you can declare:
Dynamic attribute groups
They are used to group the attributes in the resource type input masks. They also define the layout in which the attributes are displayed.
Dynamic attributes
They are used to describe the resource. Each attribute has a type which defines the input method and the data type of the attribute.
The examples below show how fields are positioned in the input mask based on the definition of attribute groups and attributes.

Example, position attributes within a group

Example, position attributes within a group
Adding / Editing an attribute group
Groups can be added through clicking on the corresponding icon . If there is already at least one group clicking on it and selecting in the context mene "Add group above" or "Add group below" will add a new group as well.
The properties of a group can be edited directly in the table.
Name Manual Id Columns Pressing the button in a row deletes the attribute group including all attributes within the group.
Adding / Editing an attribute
Attributes can be added through clicking on the corresponding icon . Alternatively, if there is already at least one attribute clicking on it and selecting in the context menu "Add attribute above" or "Add attribute below" will add a new attribute as well.
Name Manual Id Datatype Columns Mandatory Unique Copy Settings Pressing the button in a row deletes the attribute.
Definition of field write permissions
The application allows to define for each attribute of a resource type the field write permissions. This is done in the field permission area. Field write permissions can be assigned directly to a user group / user or based on existing data values of other attributes. Finally, also the rules engine code snippets can be used to define complex rules for field write permissions.
If for attributes no specific field write permission is defined, then the default behavior is that all users with access to the resource type can edit the attribute.
Adding / Editing a field write permission
When adding a new field write permission, follow this process:
- Select the attribute for which the permission is defined. Alternatively you can also choose All to define a permission for all attributes of the resource type.
- If applicable select in Based on an attribute which is used to define the permission based on its value. If no attribute is selected, then the permission is defined for all resources of this type.
- Select the user group or user for which the permission is defined.
- If a Based on attribute is selected, then select the value of the attribute for which the permission is defined.
The picture below permits the group Administrator to have write permissions on the field "Calibration interval", if fuel type is Electric or Petrol.

Definition of field write permissions
Definition of resource assignments
For each activity type it can be defined which resources can or have to be assigned to activities of this type. The assignment can be defined for each resource type. Thereby the resource type can be assigned several times with different roles. E.g. a resource type "Employee" could be assigned as "Operator" and "Supervisor". For each assignment a minimum and maximum number of resources can be defined. The system will check the assignment rules when saving an activity.
Additionally, rules can be defined to reduce the number of possible resources for assignment. E.g. only resources with a specific attribute value can be assigned to an activity.

Definition of possible resource assignments
Resource assignment properties
Name Role Min amount Min amount Editable? Copy? Max occurences Resource assignment rules
In some cases, it is necessary to validate parameters of a resource against certain requirements in an activity. A typical example would be a set of skills an engineer needs to possess to conduct a certain test.
Pressing the button will show the existing rules and provide options to add or remove rules.
Generally following rules can be defined for resource assignments:
- Valuelist / Multiselect in resource against valuelist / Multiselect in activity: The resource has a valuelist attribute which must match the valuelist attribute of the activity. E.g. the skill of an engineer must match the required skill of the activity

Restring test benches to only match the neccessary skills field of activity
- Valuelist in resource against valuelist in other resource: The resource has a valuelist attribute which must match the valuelist attribute of another resource assigned to the activity.E.g.
could the assignment of a test bench reduce the possible engineers to only those which have the skills to operate this test bench.

Restring engineers to those who can operate the test bench
- Valuelist in resource directed to another resource: A resource contains a value list which addresses direct a resource type which also can be assigned to the activity. E.g. a sensor can have a valuelist "built in" which leads to a parent resource type "Test bench" which can be assigned to the activity. In this case it could be checked that only sensors which are build in an assigned test bench will be assigned. Additionally, it can be triggered, that when assigning a tesbench also all "build in" sensors will be assigned automatically.

Activate assignment of sensors, if the referred test bench is assigned.
Validation options:
- IGNORE: No validation is done
- WARNING: A warning is shown to the user, but the assignment is still possible
- PREVENT: The assignment is not possible
Display config
The section "Display config" allows to define how the activities of this type will be displayed in the different scheduling views such as resource scheduler, project plan or activity scheduler. The display config is based on the dynamic attributes of the activity type. Based on its value, the appearance in the scheduling views can be changed. E.g. the color and icon of the activity can be changed based on a valuelist attribute.
Thereby up to 3 different display configs can be defined, which combinations can lead to different renderings.

This activity is rendered based on its different status
For each combination following properties can be defined:
Background color Text color Header color Selected color Icon