OData code to retrieve Tasks by UserId
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
OData code to retrieve Tasks by UserId
Need a help here, can anyone please tell me how to retrieve workflow workItems for the given userId using OData out of the box API? I am able to filter data based on CreatedOn, but can't see any options to filter based on userId.
I am still trying to get my hands dirty with the OData. Appreciate your help here.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you Sharon for reply on this!
I just figured out a way to achieve it. Basically you have to use GET /WorkItems OData API to get the Workflow Items for the given user. It gives you all the list of workflow Items for the given user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Riz-4165786.
Without knowing more about your use case, the Help Center might be able to answer your question. If you find it's not helpful, please provide the details of your use case and we will try to assist further.
Regards.
--Sharon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you Sharon for reply on this!
I just figured out a way to achieve it. Basically you have to use GET /WorkItems OData API to get the Workflow Items for the given user. It gives you all the list of workflow Items for the given user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Riz-4165786.
Glad to hear you found a solution. For others in the community, please mark your last post as the Accepted Solution.
Regards.
--Sharon
