Get interface name where answer is visible using custom script.
We had a request to send email link of answers which meet some criteria.
I have created custom code to achieve this but I am not finding any clean documentation on how to achieve this, I think I am missing on syntax or the return type. The approach which I am following is as follow:
1.) Get the answer object with answer id.
2.) Get the product ID associated with answer.
3.)Use this product ID to get ServiceProduct object and then get the interface on which the product is visible.
Any help will be highly appreciated.