Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Business rules pricing example
Your company wants to promote a VM infrastructure service. To encourage its use, there is to be a promotion featuring a 50% price reduction for requests submitted in October.
To do this you can configure the offering as follows:
Set up the basic user options
You should set up the user options to match whatever specification is appropriate for your company. In this simple example, the number of processors is added as an option.
-
From the main menu, select Plan > Service Catalog > Offerings.
-
Select the relevant offering, and click Details.
-
In the User options tab, click New field, and complete the following:
Property Action Name Type Processors Display name Type Processors Field type Select List Field size Select MEDIUM Required Ensure this is selected Visibility Select User List -
Click to add a new list
-
Type Number as the name and display name
-
Click OK
List items -
Click to add the list items
-
Type One as the name and 1 CPU as the display name
-
Click Add another
-
Type Two as the name and 2 CPUs as the display name
-
Click Add another
-
Type Four as the name and 4 CPUs as the display name
-
Click OK
-
-
Click Save.
Set up the promotion date fields in user options
Now you can set up the user options so there are fields that can be used to specify the start and end dates of the promotion.
-
In the User options tab of the relevant offering, click New field, and complete the following:
Property Action Name Type StartPromotion Display name Type Start promotion Field type Select Date Field size Select MEDIUM Visibility Select Agent -
Click New field, and complete the following:
Property Action Name Type EndPromotion Display name Type End promotion Field type Select Date Field size Select MEDIUM Visibility Select Agent -
Click Save.
Set default values for promotion period and CPU
Now you set the default values for the offering, including specifying the start and end dates of the promotion, and the default of 1 CPU.
-
In the Default values tab of the relevant offering, open the User options section, and complete the following:
Property Action Processors Select 1 CPU Start promotion Select October 1, 2015 End promotion Select October 31, 2015 -
Click Save.
Set prices
Now you add the prices to the offering.
-
If you want the prices to be visible to the Service Portal user, in the Price tab of the relevant offering, ensure Visible to Service Portal is selected.
-
In the Price tab, of the relevant offering, open the Basic pricing section, and complete the following:
Property Action Currency Select USD($) Price Type 100 Recurring price Type 3 Recurring period Select Monthly -
Open the Additional price added per user option section, and complete the following:
Property Action 1 CPU - Price Leave blank 1 CPU - Recurring price Type 2 2 CPUs - Price Leave blank 2 CPUs - Recurring price Type 4 4 CPUs - Price Leave blank 4 CPUs - Recurring price Type 6 -
Click Save.
Add rules for the price promotion
Finally, you add the rules that specify the discount (50%) and when it is to be applied.
-
In the Rules tab of the relevant offering, open the After change section.
-
Click Add a rule to run after request record rules, and:
-
Select "If...Then" rule.
-
Select the Set field template.
-
Click OK and edit the rule to be:
If
${(current_update.RequestedForPerson.IsChanged || current_update.UserOptions.IsChanged) && entity.CreateTime>=entity.UserOptions.StartPromotion_c && entity.CreateTime<=entity.UserOptions.EndPromotion_c}
Set Price to ${entity.Cost/2}
Note For help with action rules, see Action rule examples.
-
-
Click Add a rule to run after request record rules, and:
-
Select "If...Then" rule.
-
Select the Set field template.
-
Click OK and edit the rule to be:
If
${(current_update.RequestedForPerson.IsChanged || current_update.UserOptions.IsChanged) && entity.CreateTime>=entity.UserOptions.StartPromotion_c && entity.CreateTime<=entity.UserOptions.EndPromotion_c}
Set Recurring price to ${entity.RecurringCost/2}
-
-
Open the Rendering forms section.
Note The following rules disable the StartPromotion and EndPromotion fields. These fields should not be visible to the Service Portal user, and that is why their Visibility is set to Agent. The agent may only view these fields, and not edit them, as they are controlled by the Catalog Administrator. Therefore, the fields are disabled.
-
Click Add a rule to run before request record rules, and:
-
Select Simple rule.
-
Select the Disable field template.
-
Click OK and edit the rule to be:
Disable UserOptions.StartPromotion_c
-
-
Click Add a rule to run before request record rules, and:
-
Select Simple rule.
-
Select the Disable field template.
-
Click OK and edit the rule to be:
Disable UserOptions.EndPromotion_c
-
-
Click Save.
Related topics