Topic by Deniz
Content
Hi,
We have a custom process that is linked to one of our custom objects create event. Our livechat implemantation is based on Chat Consumer Interface API and we are using a Postchat custom object to store customer responses at post chat survey. When a Postchat survey CO is created it has chat_id and customer responses. We need to report on survey results and since we cannot join CO/Postchat to chats table we are trying to populate the i_id field on CO and join it directly to the incidents table.
CP below is triggered at Postchat object Create. It is using a analytics report to lookup chat_id, the report output is inc_id. We write the analytics output to Postchat object's inc_id.
CP works at about %80 of the time. Sometimes it fails and Postchat object's inc_id stays unpopulated. We couldnt find the reason why it fails. Logs doesnot show any errors. We only could figured out that the save() method is not finished on failed porcess.