Specifications

Resource Definitions
Syntax
Use the following syntax for the require section of an application's resource
definition:
resources
{
require selection-kind
{
resource resource- type { parameter- list }
resource resource- type { parameter- list }
.
.
.
}
The require keyword must be followed by the selection-kind qualifier. Valid
values are one, all, or any.
When defining a required resource, you can specify user-definable resources
or use no resource parameters.
Example
The following example shows part of the resource definition for the Microsoft
Outlook application:
resources
{
require one
{
resource Process { ExecutableName="OUTLOOK" }
}
This resource definition indicates that the Microsoft Outlook application is
running when Application Response observes a process with the executable
name OUTLOOK. Application Response does not begin to monitor Outlook
transactions until it observes this process running.
In the example, Process is the resource type, and
{ExecutableName="OUTLOOK"} is a parameter that qualifies the resource. For
each resource in a resource definition, you must specify its resource type, and
you can specify any number of parameters that further qualify the desired
resource.
Not recommended: Consider the following example of a required resource
definition:
BT Language Reference 193