Skip to main content
Planview Customer Success Center

GetAssignedProjectCapacityForFixedPeriod Function

GetAssignedProjectCapacityForFixedPeriod(user as ObjectIdentifier, project as ObjectIdentifier, period as String)

Category: Resource Utilization
Description: Returns a duration value indicating the Assigned Project Capacity for the specified User in the given time range for a specified project. This should be the same number that is displayed in the Resource Planning.
Supported Context: Business Rules
user as ObjectIdentifier(User) Represents a reference to a user object or a field that returns a user object. Normally this will be a resource on a project.
project as ObjectIdentifier(project) Represents a project object for which you would like to know the resource’s assigned capacity.
period as String An optional variable that represents the frame of time for which you would like to know the resource availability. Value can be either "d", "w", "m" corresponding to current day, week, month. If null then the parameter value defaults to "w"
Example #1 Create 3 Custom Fields on Resource Link: Create a Workflow Rule on Resource Link every time the link is Edited This will only check for Users that are "Active" In the Evaluation Criteria enter the following: In the Actions, select Update Field: GetAssignedProjectCapacityForFixedPeriod(Resource, WorkItem, period as String)
Tips Use this value in conjunction with a user’s rate to calculate projected cost or revenue from billing for a particular project.