Good day to all, I am trying to implement functionalityfor my customer and am encountering an issue where ALM simply will not cooperate.
The requested functionality is to replace the standard Add Comment behavior so as the field acts purely as an input to a read-only field. This functionality appears to be working and my comments are added to this field without issues.... My problem resides in the simple fact that I cannot stop Quality Center, for the life of me, from then adding the standard behavior of adding the header with name/date into the input field after I cleared it and this even though I have added the following:
Function Defects_ActionCanExecute(ActionName)
' On Error Resume Next
if ActionName = "BugAddDevCommentsAction1" or ActionName = "AddDevComment" then
Defects_ActionCanExecute = false 'Do not allow standard function for button "Add Comment"
AddCommentScript
end if
' On Error Resume Next
End Function
That to my understanding should not allow this...
I have attached the workflow code for your review. What I am wondering is if this is a bug with 12.0....
Experts, please assist, it would be most appreciated as it has now been 2 days that I am attempting to debug this and believe I am going bonkers! :-)
Thx,
David