Get the uncommitted thread from Messages tab
Summary
How to get the uncommitted thread from Agent desktop by add-in?Content
Hi,
I am using a workspace add-in to get the uncommitted thread when an agent writes a manual response to the contact from messages tab (Rich text incident thread). The following code is giving me all the responses from the incident thread but I want only the text entered by agent (which has not been saved yet).How can I restrict the addin to pick up only that unsaved response? Any suggestions would are appreciated
~NJ.
Version
20BCode Snippet
IList<IThread> _threads = _incident_record.Threads; foreach (IThread _thread_val in _threads) { if (_thread_val.EntryType == 2 && _thread_val.Seq == 1) { if (_thread_val.Note != null) { _recent_resp_thread = _thread_val.Note; //MessageBox.Show("Recently entered thread:"+_recent_resp_thread); } } }
Tagged:
2