UI Policy Trigger — Script

  • Select Run scripts on the Script tab to access the scripting fields
  • Can write a script in one or both fields
  • UI Policy Scripts execute client-side
  • Run scripts in UI type - select whether the script executes for Desktop only, Mobile/Service Portal, only or All environments.
  • Execute if true — JavaScript executes when the UI Policy Condition tests true.
  • Execute if false — JavaScript executes when the UI Policy Condition tests false.
  • The onCondition() function in the appropriate UI Policy script fields is automatically called when the condition returns true or false.

IMPORTANT

The Reverse if false (located on the 'When to Apply' tab) field must be selected in order for
the Execute if false script to execute.

results matching ""

    No results matching ""