Work.com: Feedback - Why do I get an 'insufficient privileges' error when trying to create feedback through a related list?
|Knowledge Article Number||000220824|
|Description||Why do I get an 'insufficient privileges' error when trying to create feedback through a related list?|
|Resolution||Although it is possible to add lookup fields on the Feedback object and add a related list for Feedback on the object it looks up to (e.g. Cases) users will get an 'insufficient privileges' error when they try to create feedback records through the related list. This is because there are multiple objects related to feedback. When Feedback is offered or requested though the Feedback tab the related feedback records are automatically created. When you create feedback through a related list the related feedback records are not automatically created.
WorkFeedback (Feedback) - this record holds the actual feedback text
WorkFeedbackRequest (Feedback Requests) - this record holds details about the offered feedback (type, state, privacy scope)
WorkFeedbackQuestionSet (Feedback Question Sets) - this record is a container for questions and is required for dependency, as performance summary features also use the same objects to store data
You can check out these links to learn more about the objects and their fields:
WorkFeedback - https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_workfeedback.htm
WorkFeedbackRequest - https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_workfeedbackrequest.htm
WorkFeedbackQuestionSet - https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_workfeedbackquestionset.htm
As a workaround you may want to consider building a custom 'New Feedback' button that runs custom Apex code to create all 3 records for the user.