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

Re: Workflow message appears two times for same action name

$
0
0

Hi,

Thanks for your reply.

that was just an example,we are using following code and it gives error message two time to users who are not from the admin group and try to access actions other then copy steps and refresh.

               

                 If Not (User.IsInGroup("TDAdmin")) Then

          If left(rootoitemx.path,30) = "Subject\00 SSC Master Test Bed" Then

             Select Case ActionName

 

             Case "TestDesignSteps.Copy"                              'action name in alm11

                 TestPlan_ActionCanExecute = True

              Case "TestPlan.Refresh"                                       'action name in alm11

                 TestPlan_ActionCanExecute = True

              Case "act_copy_steps"                                          'action name in qc10

                  TestPlan_ActionCanExecute = True

             Case "act_filter_refresh"                                       'action name in qc10

                  TestPlan_ActionCanExecute = True

             Case Else

                 TestPlan_ActionCanExecute = False

             Msgbox "You don't have access in this folder. Please contact QC Administrator"

             End Select

          Else

              TestPlan_ActionCanExecute = TRUE

          End If

End if

 

if user other then admin clicks on any other action then this message appears two times as same action has two names as shown in workflow..Please help .


Viewing all articles
Browse latest Browse all 14708

Trending Articles



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