Employment Information Agent fails to fetch employment details for logged in users
Hi,
Please advise on the issue with Employment Information Agent. User posts the query: "Show my current employment details", the agent fails to retrieve data and returns unexpected responses depending on the user persona:
Scenario 1 – Employee Persona:The agent responds with:
"I am currently unable to retrieve your employment details. Please try again later or contact your HR support for assistance."
Scenario 2 – Line Manager Persona:The agent returns "None" instead of the user's employment details. Additionally, it incorrectly asks for clarification about an unrelated employee ([user name]) rather than identifying the currently logged-in user.
Multiple fetch calls returning HTTP 200 and 202 (invokeAsync) are visible in the browser network tab, suggesting the agent is being invoked but failing to retrieve or return employment data correctly.