Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello ,
I'm working on a workflow notification system using Windchill OData REST API, and I'm facing an issue with user-based filtering.
**Current Situation:**
- When I call `/Windchill/servlet/odata/v5/Workflow/WorkItems` endpoint with Basic Authentication
- The API only returns WorkItems assigned to the authenticated user
- If I authenticate as "PLM-1" user, I only see PLM-1's tasks
- If I authenticate as "oozcelik" user, I only see oozcelik's tasks
**What I Need:**
I need to retrieve ALL WorkItems across ALL users to build a notification system that monitors new task assignments and sends notifications to the assigned users.
**What I've Tried:**
1. Using administrator account (PLM-1) - still only returns tasks assigned to admin
2. Using $expand and $filter parameters - no success
3. Looking for different endpoints like /AllWorkItems - couldn't find any
Hello,
you can make a query builder report to find tasks and run report over rest call
/Windchill/servlet/odata/v4/Reporting/ExecuteReportTemplate
Hello @ozclkonur,
It looks like you have a response from a PTC support expert. If it helped you solve your question please mark the reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Vivek N.
Community Moderation Team.