Skip to main content
14-Alexandrite
September 24, 2025
Solved

How to fetch TaskComments for any given CAPA/NC OID from WfProcess using REST API

  • September 24, 2025
  • 2 replies
  • 303 views

Version: Windchill 12.0

 

Use Case: I need to fetch Task Comments for specific Wfprocess for CAPA or NC Objects, I have Object OID and WfProcess, currently I am trying to get info using following enpoint service however unable to see "Comments" value in the reponse \ Endpoint - > v5/CAPA/CAPAs('{CAPAId}')/WfProcess GET] v5/NC/Nonconformances('{NonconformanceId}')/WfProcess s Even tried using this expand query "WorkItem($expand=Owner)"


Description:

Need assistance with navigating to workItem TaskComments using above service endpoints

 

 

Best answer by avillanueva

You might have to write your own service to access comments.

2 replies

Catalina
Community Moderator
September 30, 2025

Hi @Rohaan 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,

Catalina | PTC Community Moderator
avillanueva
23-Emerald I
23-Emerald I
September 30, 2025

You might have to write your own service to access comments.