Example: Create Report on Last Workers in Unfilled Role Assignments
This example illustrates how to create a custom report to identify workers who last held positions assigned to roles on awards, grants, and grant hierarchies in a company, where the roles are now assigned to 1 or more unfilled position restrictions due to the workers leaving their positions or organization.
You want to create a report that returns currently unfilled role assignments on the awards you specify, and on the grants and grant hierarchies associated with the awards. For every unfilled role assignment, you want to see the workers who last held positions in the assignment. To ensure that the report returns at least the last workers on the award assignable role, you want to make the award assignable role a required prompt, and leave the grant assignable role and grant hierarchy assignable role as optional prompts.
Since the
Grant Hierarchy
business object is not available directly on the Award Lines
data source, this example illustrates how to create a calculated field for the grant hierarchies associated with an award line.Security:
Custom Report Creation
domain in the System functional area.- To create a report for last workers in unfilled positions on a grant hierarchy role:
- Access theCreate Custom Reporttask, and enter or select these values:
- Report Name:Last Workers in Unfilled Roles on Awards and Grants
- Report Type:Advanced
- Optimized for Performance: Not selected.
- Data Source:Award Lines
- Data Source Filter:Award Lines for Company Filter
- In theColumnstab, add rows to the top grid with these values:Business ObjectFieldAward Contract LineCompanyAward Contract LineAward for Award LineAward for Award LineRole AssignmentsAward for Award LineLast Worker(s) in Unfilled Role Assignment on AwardGrantRole AssignmentsGrantLast Worker(s) in Unfilled Role Assignment on Grant:
- Enter these values:
- Field Name:Grant Hierarchy for Award Line
- Business Object:Award Contract Line
- Function:Lookup Related Value
- ClickOK.
- On theCalculationtab, enter these values:
- Lookup Field:Award Line Grant
- Return Value:Included in Grant Hierarchies
- ClickOK.
The column now displaysGrant Hierarchy for Award Line.Last Worker(s) in Unfilled Role Assignment on Grant Hierarchy - To make theAward Assignable Roleprompt required, click thePromptstab, and add a row to thePrompt Defaultsgrid with these values:
- Field:Award Assignable Role
- Required: Selected.
- ClickOKandDone.
When you run the
Last Workers in Unfilled Roles on Awards and Grants
report and select assignable roles on the award, grant, and grant hierarchy, Workday returns the last workers who held unfilled positions assigned to those selected roles.