Share this page

# ActionCanExecute

This event is triggered before ALM performs an action that has been initiated by the user, to check whether the action can be executed.

You can add code to this event procedure to perform actions when the user has initiated a particular action, or to prevent the action from being executed in specific cases. For example, see Example: Controlling User Permissions.

Syntax | ActionCanExecute(ActionName) where ActionName is the action that the user has initiated. Actions are in the format context.action. Note: The previous format for this event is supported for purposes of backward compatibility. We recommend you use ActionCanExecute instead. User-defined actions start with the prefix `UserDefinedActions`.
Type | Function
Returns | True or False
Availability | `ActionCanExecute` (all modules)

Tip: To obtain the name of an action, see the sample code Action Object.

https://admhelp.microfocus.com ALM 8942
Tips to improve your search results... ALM Help Center ALM Help Center ALM Help 16.00-16.0.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: