Learning ServiceNow by Tim Woodruff

Learning ServiceNow by Tim Woodruff

Author:Tim Woodruff [Woodruff, Tim]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2017-03-30T04:00:00+00:00


Scripting user preferences

There are situations where you may want to alter a given user preference as the result of a script running. For example, theMake this my current update set UI Action on Update Set records changes the user preference relating to the user's currently selected update set to the sys_id of the currently opened update set record. Luckily, ServiceNow provides both a client, and server-side API for performing this update.

It is possible to use a client script, business rule, or any client or server-side script to modify a user preference record, by calling one of the following APIs, depending on context:

Client

setPreference('preference_name', 'preferece_value');



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.