SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    HP QC 10 Workflow script

    Hi,
    Looking for a workflow script that will prompt a user to complete a Closure Reason from a list when a defect status of 'Closed' is applied.
    If possible user is not allowed to exit defect until 'Closure Reason' is selected.
    Regards

  2. #2
    Advanced Member
    Join Date
    Aug 2004
    Location
    Wellington, New Zealand
    Posts
    797
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: HP QC 10 Workflow script

    Make your 'Closure Reason' field mandatory when the status is changed to Closed.

    The admin guide and plenty of posts here will give you examples of how to achieve this.
    Regards,

    Alex
    ... just another Tester ...

  3. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HP QC 10 Workflow script

    Try this in the Defect module script:
    BG_USER_XX is the DB column of Closure Reason

    Function Bug_CanPost
    On Error Resume Next

    If Bug_Fields("BG_STATUS").IsModified and _
    Bug_Fields("BG_STATUS").Value = "Closed" and _
    len(Trim(Bug_Fields("BG_USER_xx").Value))= 0 then
    Bug_CanPost = False
    MsgBox "When the defect is closed, the Closure Reason field MUST BE filled!!! ",,"Warning Message"

    End If
    On Error GoTo 0
    End Function

  4. #4
    Junior Member
    Join Date
    Feb 2011
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: HP QC 10 Workflow script

    Thanks for that - works a treat.
    Regards

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:37 PM.

Copyright BetaSoft Inc.