Skip to content

Commit ede0a87

Browse files
author
Nkem Dockery
committed
Update readmes and topics with any missed fixes
1 parent 4618f25 commit ede0a87

7 files changed

Lines changed: 85 additions & 19 deletions

File tree

EmployeeSelfServiceAgent/Workday/ManagerScenarios/WorkdayGetManagerReporteesTimeInPosition/README.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ search_exclude: false
55
# Workday Get Manager Reportees Time In Position
66

77
## Overview
8-
This scenario enables managers to view their direct reports along with how long each employee has been in their current position. It retrieves team member information from Workday HCM and calculates the time in position for each reportee.
8+
This scenario enables managers to view their direct reports along with how long each employee has been in their current position. For each supervisory organization, it retrieves team member information from Workday HCM and calculates the time in position for each reportee. The columns displayed can be altered by updating the topic's Model Description section.
99

1010
## Files
1111

@@ -17,7 +17,7 @@ This scenario enables managers to view their direct reports along with how long
1717
## Prerequisites
1818

1919
### Global Variables Required
20-
- `Global.ESS_UserContext_ManagerOrganizationId` - The manager's organization ID in Workday (used to filter direct reports)
20+
- `Global.Manager_Supervisory_OrgIds` - A list of all of the Workday supervisory organization IDs of a manager (used to filter direct reports)
2121

2222
### Workday API
2323
- **Service**: Human_Resources
@@ -81,30 +81,27 @@ The XML template is optimized for performance by:
8181
1. **Import the Topic**: Import `topic.yaml` into your Copilot Studio agent
8282
2. **Add XML Template**: Upload `msdyn_GetManagerReportees.xml` to your Workday connector configuration
8383
3. **Configure Connection**: Ensure your Workday connector connection reference is properly set in the topic
84-
4. **Set Global Variable**: Make sure `Global.ESS_UserContext_ManagerOrganizationId` is populated (typically from user authentication context)
84+
4. **Set Global Variable**: Make sure `Global.Manager_Supervisory_OrgIds` is populated (typically from user context setup)
8585

8686
## Model Instructions
8787

8888
The topic includes model instructions for the AI to:
8989
- Display results as a nested markdown list
9090
- Format Time in Position clearly
91-
- Show Name, Job Title, Time in Position, Start Date, and Status for each reportee
91+
- Show Name, Job Title, Time in Position and Status for each reportee
9292
- Sort or group results based on user's question context
9393

9494
## Example Output
9595

9696
When a manager asks "Show me my team's time in position", the agent displays:
9797

98-
```
99-
Here are your direct reports and their time in current position:
100-
101-
- **John Smith** - Senior Developer
102-
- Time in Position: 2 years, 5 months, 12 days
103-
- Position Start: 2022-07-15
104-
- Status: Active
98+
# Team roles and time in position
99+
Here's a list of your team members and how long they've been in their positions. I pulled this from Workday, an HR platform your company uses.
105100

106-
- **Jane Doe** - Product Manager
107-
- Time in Position: 1 year, 2 months, 3 days
108-
- Position Start: 2023-10-20
109-
- Status: Active
110-
```
101+
> | Name | Title | Time in Position | Status |
102+
> | ------------- | ------------- | ------------- | ------------- |
103+
> | Jane Doe | Sales Solution Consultant | 8 months 28 days | Active
104+
> | John Smith | Sales Solution Consultant | 7 months 5 days | Active
105+
> | Jack Doe | Sales Solution Consultant | 7 months 28 days | Active
106+
>
107+
> If you need more details about a specific team member’s role or tenure, just let me know!

EmployeeSelfServiceAgent/Workday/ManagerScenarios/WorkdayGetManagerReporteesTimeInPosition/topic.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ modelDescription: |-
1010
For info on all direct reports time in position: Display in Table
1111
Heading - "Team roles and time in position"
1212
Verbatim line after heading: "Here's a list of your team members and how long they've been in their positions. I pulled this from Workday, an HR platform your company uses."
13-
Table columns: Name, Title, Time in Position
13+
Table columns: Name, Title, Time in Position, Status
1414
1515
Common Rules ALWAYS FOLLOW:
1616
- ALWAYS add large sized heading with sentence case
@@ -43,7 +43,7 @@ beginDialog:
4343
displayName: Redirect to Workday Get Common Execution
4444
input:
4545
binding:
46-
parameters: ="{""params"":[{""key"":""{Manager_Org_ID}"",""value"":""" & Global.ESS_UserContext_ManagerOrganizationId & """}]}"
46+
parameters: ="{""params"":[{""key"":""{Manager_Org_ID}"",""value"":""" & Topic.SupOrgId & """}]}"
4747
scenarioName: msdyn_GetManagerReportees
4848

4949
dialog: msdyn_copilotforemployeeselfservicehr.topic.WorkdaySystemGetCommonExecution

EmployeeSelfServiceAgent/Workday/ManagerScenarios/WorkdayManagerServiceAnniversary/README.md

Whitespace-only changes.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
nav_exclude: true
3+
search_exclude: false
4+
---
5+
# Workday Get Manager Reportees Company Codes
6+
7+
## Overview
8+
This scenario enables managers to view their direct reports along with Company Code or Company Name details for each of their supervisory organizations.
9+
10+
## Files
11+
12+
| File | Description |
13+
|------|-------------|
14+
| `topic.yaml` | Copilot Studio topic definition with trigger phrases and Power Fx logic |
15+
| `msdyn_HRWorkdayHCMManagerDirectCompanyCode.xml` | XML template for Workday Get_Workers API call |
16+
17+
## Prerequisites
18+
19+
### Global Variables Required
20+
- `Global.Manager_Supervisory_OrgIds` - A list of all of the Workday supervisory organization IDs of a manager (used to filter direct reports)
21+
22+
### Workday API
23+
- **Service**: Human_Resources
24+
- **Operation**: Get_Workers
25+
- **Version**: v42.0
26+
27+
## Scenario Details
28+
29+
### What It Does
30+
1. Retrieves all employees in all supervisory organizations for the manager (all direct reports).
31+
2. Extracts key employee information (Name, Company Code, Company Name, etc.)
32+
3. Presents results in a formatted table
33+
34+
### Trigger Phrases
35+
- "Show me my team's time in position"
36+
- "How long have my direct reports been in their roles"
37+
- "Get reportees time in current position"
38+
- "List my team members with their position tenure"
39+
- "Who on my team has been in their role the longest"
40+
- "Show tenure for my direct reports"
41+
- "My reportees job tenure"
42+
- "Time in position for my team"
43+
44+
## Response Group Configuration
45+
46+
The XML template is optimized for performance by:
47+
- **Including**: Reference, Personal Information, Employment Information
48+
- **Excluding**: Compensation, Benefits, Documents, Photos, and other unnecessary data
49+
50+
## Setup Instructions
51+
52+
1. **Import the Topic**: Import `topic.yaml` into your Copilot Studio agent
53+
2. **Add XML Template**: Upload `msdyn_HRWorkdayHCMManagerDirectCompanyCode.xml` to your Workday connector configuration
54+
3. **Configure Connection**: Ensure your Workday connector connection reference is properly set in the topic
55+
4. **Set Global Variable**: Make sure `Global.Manager_Supervisory_OrgIds` is populated (typically from user context setup)
56+
57+
## Example Output
58+
59+
When a manager asks "Show me my team's time in position", the agent displays:
60+
61+
```
62+
**Team company codes**
63+
Below is a list of your direct reports and their company codes:
64+
65+
* John Smith
66+
* Company code: ACME USA
67+
* Jane Doe
68+
* Company code: ACME USA
69+
```

EmployeeSelfServiceAgent/Workday/ManagerScenarios/WorkdayManagersdirect-CompanyCode/msdyn_HRWorkdayHCMManagerDirectCompanyCode.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<workdayEntityConfigurationTemplate>
2-
<scenario name="GetManagerDirectCompanyCode">
2+
<scenario name="msdyn_HRWorkdayHCMManagerDirectCompanyCode">
33
<apiRequests>
44
<apiRequest>
55
<authType>User</authType>

EmployeeSelfServiceAgent/Workday/ManagerScenarios/WorkdayManagersdirect-CostCenter/README.md

Whitespace-only changes.

EmployeeSelfServiceAgent/Workday/ManagerScenarios/WorkdayManagersdirect-Jobtaxanomy/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)