Previous Topic: Find the Values of the Attributes of a Service OptionNext Topic: Find the Column Number of a Service Option Element


Conditions Based on the Attributes of Service Option Elements

Conditions based on service option elements can apply to either global or attached policies.

For service options and service option elements, you can specify conditions that use match functions.

You can specify conditions based on the following attributes of service option elements:

code item_type

estimatedCost status

item_text

The following attributes require explanation:

Code

Is a user-specified text value to represent the product code, subscription code, SKU # or any other applicable code.

Note: To find the value of this attribute for a service option element, proceed as follows: click Catalog, Services Offerings, Option Groups. View the service option and service option element of interest. On the Service Option Element Definition dialog, click the Options tab and find the value of the Code field.

estimatedCost

Specifies the estimated cost of a service option element in a service option in a service in a request. The Catalog system includes the cost of all service option elements in the cost of the service option to which they belong. The Catalog system calculates this cost when the request is submitted.

Note: To find the cost of the service option, click Home, Requests and, if applicable, use the My Requests drop-down list to display requests. Find the request that contains the service option and view the details.

item_type

Specifies a valid value for the item type, as specified in the Type label of the service option element. For example, if the type of the service option element is CA BSI contract (for CA Business Service Insight contract), the value of item_type is 5. Similarly, if the type is Form, the value of item_type is 14.

item_text

Specifies the value of the Display Text field on the service option element definition page. You can specify the condition to require either an exact match or an approximate match, as follows:

status

Specifies the request status of the service option that contains this service option element.

Formats

For all formats, enclose string values in single quotation marks, and enter numeric values without quotation marks.

Use the following format for conditions with a match function:

$(anySoeWith('attribute',operator,'value'))

Use the following formats (without spaces) for conditions without a match function.

Examples

Consider the following examples:

Examples with the Match Function

Consider the following examples: