ResourceTaskAssignment

Description

Package: com.ibm.rpm.wbs.containers

Extends: ResourceRoleAssignment

Usage

ResourceTaskAssignment is used to assign work to a Resource, by assigning a Resource as a participant, or assigning work to a Profile.

To assign a Resource as a participant, you must create a ResourceTaskAssignment object specifying an existing parent and an existing Resource in the corresponding fields. The profile and taskAssignment fields should remain null.

To assign work to a Resource, you must create a ResourceTaskAssignment object with an existing parent, an existing Resource, and a new TaskAssignment object in the corresponding fields. The profile field should remain null.
Note: To create a ResourceTaskAssignment object with a Resource, the Resource must be active and previously saved.
To assign work to a Profile, you must create a ResourceTaskAssignment object with an existing parent and a new Profile object as well as a new TaskAssignment object in the corresponding fields. The resource field should remain null.
Note: A TaskAssignment must be created when the parent ResourceTaskAssignment is created.

In order to delete a TaskAssignment, you must delete the parent ResourceTaskAssignment. ResourceTaskAssignments with security roles ‘Project Manager’ and ‘Task Responsible’ cannot be deleted.

Parent is mandatory and must be saved, allowed parent types are Proposal, Project, WorkOrganization, Deliverable, WorkProduct, SummaryTask, Milestone, and Task.

The field securityRole, inherited from SecurityRoleAssignment, is mandatory when creating or updating a ResourceTaskAssignment.

Supported API Calls

Security Restrictions

N/A

Fields

The following table lists the fields for this object.

Table 1. ResourceTaskAssignment Field Description
Field Detail
assignmentStatus

Type: AssignmentStatus

Default value: N/A

Description: The status of the resource’s assignment (Work or Duration).

Field validation description: This field is read-only.

Additional field security restrictions: N/A

profile

Type: Profile

Default value: N/A

Description: The profile associated with a profile assignment.

Field validation description:

The profile field or the resource field (inherited from ResourceRoleAssignment) is mandatory on insert only.

If the profile field contains a value, the resource field (inherited from ResourceRoleAssignment) must be null.

This field is mandatory for a profile assignment.

Additional field security restrictions: N/A

resourceType

Type: ResourceType

Default value: N/A

Description: Identifies if a Profile or a Resource is being assigned.

Field validation description: This field is mandatory.

Additional field security restrictions: N/A

taskAssignment

Type: TaskAssignment

Default value: N/A

Description: The task assignment data for a resource or profile assignment.

Field validation description: This field is mandatory when creating a resource or profile assignment.

Additional field security restrictions: N/A

workLocation

Type: WorkLocation

Default value: N/A

Description: The resource’s or profile’s work location.

Field validation description: N/A

Additional field security restrictions: N/A

Inherited Fields

Click on object for list of inherited fields:

From RPMObject

From ResourceRoleAssignment

From SecurityRoleAssignment

Related Objects

  • Resource