| Table |
The table for the form to be modified. |
| Active |
The active status of the UI policy. Only active UI policies are
applied. |
| Short description |
Short summary of the UI policy. |
| Order [Advanced view] |
The processing sequence, from the lowest to highest number. If two
policies conflict, the UI policy with the higher number executes. For
inherited UI policies, the extended (child) table's UI policies are executed
first. Then the base table UI policies are executed; both from lowest to
highest specified value. |
| When to Apply |
| Conditions |
The conditions which, if fulfilled, cause the UI policy to be applied.
Conditions are built with the condition builder. To set conditions using a
script, use a client script instead. Conditions are only rechecked if a
user manually changes a field on a form. If the change is made by a UI
action, context menu action, or through the list editor, it is not
evaluated. |
| Global [Advanced view] |
Option for specifying whether the UI policy applies to all form views. If
this check box is cleared, the UI policy is view-specific. By default, the
Global UI policy applies to all form views. However, a UI policy can be
specific to a view. For example, you can define a UI policy for only the
itil view of a form. Use the View field to accomplish
this. |
| View [Advanced view] |
Option for indicating which form view the UI policy applies to. This
field is visible only if Global is not selected. If
Global is not selected and the View field is left blank, the script applies
the default view. For more information on form views, see View
management. |
| Reverse if false [Advanced view] |
Option for specifying that the UI policy action is undone when the
conditions of its UI policy evaluate to false. In other words, when the
conditions are true, the specified actions are taken and when they are false,
the actions are undone. |
| On load [Advanced view] |
Option for specifying that the UI policy behavior should be performed
OnLoad as well as when the form changes.You can check or clear the
On load check box in a UI policy to control whether
it runs every time a form is loaded when the conditions are satisfied. In
this example, an administrator does not want an incident to enter the
Awaiting user info state unless the user provides
an explanation to the customer. The administrator creates a UI policy with
the following settings.
- In the When to Apply section, adds the condition [State]
[is] [Awaiting user info] and clears the On
load check box. This condition means that the UI policy
applies only when the state is changed to Awaiting user
info.
- In the UI Policy Actions related list, creates
a record that makes the Additional comments field
mandatory when the condition is met.
|
| Inherit [Advanced view] |
Option for specifying whether extended tables inherit this UI
policy. When a child table has an inherited UI policy from its parent
table, the UI policy on the child table always runs first. This event is
true regardless of the Order of the UI
policies.
Consider the following example:
- A child table has a UI policy with Order value
500 that shows the
Urgency field when its conditions are met.
- Its parent table has a UI policy with the same conditions that hides
the Urgency field. The parent table UI policy has
Order value 100.
- Although the parent table Order field has a
lower value, the child UI policy runs first and then the parent UI
policy runs. When the conditions are met, the
Urgency field is hidden.
|
| Script |
| Run scripts [Advanced view] |
Option for specifying whether advanced behavior can be scripted for both
true and false conditions. |
| Execute if true [Advanced view] |
A script that executes when the conditions of the UI policy are
fulfilled.
- This field is available only if Run scripts is
selected.
- This feature is not available outside the scope or in global
scope.
|
| Execute if false [Advanced view] |
A script that executes if the conditions of the UI policy are not
fulfilled and the Reverse if false option is selected.
- This field is available only if Run scripts is
selected.
- This feature is not available outside the scope or in global
scope.
|
| Other fields |
| Run scripts in UI type |
The UI type for this UI policy: Desktop, Mobile / Service Portal, or
Both. |
| Related List: UI Policy
Actions |
| Table |
[read-only] Field the UI policy action applies to. |
| Field name |
Field on the selected table to which the UI policy performs an action if
true.Remarque : If the specified field is not found on the form, the UI policy
performs the action on the variable with the same name. |
| Mandatory |
Choice list for specifying how the UI policy affects the mandatory state
of the field. Choices are: |
| Visible |
Choice list for specifying how the UI policy affects the visible state of
the field. Choices are: |
| Read only |
Choice list for specifying how the UI policy affects the read-only state
of the field. Choices are: |
| Related Links |
| Default view or Advanced view |
Changes the form view to the default or advanced view. The fields change
based on the view. |