Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: Unable to run the command through Workflow

$
0
0

For some reason, returning a non-existing bug ID does not cause an error in our production installation. But you could check it like this for example:

 

  

On Error Resume Next
Set refBug = tdc.BugFactory.Item(refId)
'The following line will cause a suppressed error if the bug does not exist
summary = refBug.Field("BG_SUMMARY")
If Err.Number = 0 Then
     'This went OK, which means the bug exists
End if
On Error Goto 0

 


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>