It is possible to add several times the same Role to the Team on a given Project.
When this is done via the UI, the Resource/Role displays as the Requirement Name, which is the Role Name plus a number. For instance, if we are adding serveral times the "Architect" role:
Architect (n)
<Please see attached file for image>
How can new instances of this Role or those existing instances to be modified via XOG?
Environment
Release: Component: PPMPRD
Resolution
If there is a requirement to modify/add via XOG several instances of the same Role on a given Project, it is necessary to specify a teamID.
For instance, adding/modifying several times the Architect role:
The teamID is basically built by adding the resourceID value plus a "number". When this is done via the UI, the requirementName attribute is set "Role Name (number)" and the teamID is set to the "Role ID:[number-1]"
Additional Information
For adding new roles, a random "non existing" teamID can be set. For isntance,"csk.architect:100". To modify those roles, the corresponding teamID needs to be set via XOG. This attribute is not displayed in the UI, so a XOG out of the project (including allocations) needs to be done to check the teamID of the specific Resoure Allocation.
Additionally, this can be checked in the database. The database table/column where this gets stored is: PRTEAM/TEAM_UID
A query as follows would displayed the values for a given project:
select PRUID,PRPROJECTID,PRRESOURCEID,REQUIREMENT_NAME,TEAM_UID from prteam where prprojectid = '<investment_ID_for_the_project>'