I would like to sort the R&D comments in reverse chronological order. How do I do this, presumably through workflow code?
Answer by TLStockton · Jun 07, 2013 at 07:33 PM
Defect comments have a field type of Memo (Blob) which means this is one field that can hold a large amount of text, like a Microsoft WordPad rich text document. So in order to re-order you would have to have a complex custom coding solution to search, reorder and move blocks of text around. Since the comments are free form, this would be challenging.
Answer by Josh_Yates · Jun 06, 2013 at 02:07 PM
To do this you would actually have to edit the code behind the action that is triggered when the "Add Comment" button is clicked. In a test project in your QC environment you can add "MsgBox ActionName" under ActionCanExecute in workflow. Then when you click the "Add Comment" button you can see what action is being triggered.
Test Instances by Path 2 Answers