Use scripted extension points to manipulate URL parameters and REST API task
parameters for an EMR system.
Before you begin
Install the EMR Help application. For more information, see Install EMR Help.Role required: admin
About this task
By using extension points, you can easily integrate customizations without having to
alter the base code. You can extend standard base functionality using customized
scripts. For more information, see Using extension points to
extend application functionality.
Procedure
-
Navigate to .
-
In the API Name column, search for and select
sn_ind_rmt_help.RemoteHelpParamTransformer.
-
On the Extension Point form, either modify a script include to use the
sn_ind_rmt_help.RemoteHelpParamTransformer extension
point or create and register a custom script include.
-
Customize parameters for an EMR system by adding the
sn_ind_rmt_help.RemoteHelpParamTransformer extension
point to the script include.
You can create multiple implementations for an extension point and provide an
order number for each implementation. The implementation that has the lowest
order number is executed first.
Table 1. EMR system customizations
Customization |
Implementation |
Incoming task parameters |
Include the
transformIncomingTaskParams method in
the
sn_ind_rmt_help.RemoteHelpParamTransf​ormer
extension point. The method is called from the REST APIs
prior to creating and updating IT service requests from an
EMR system and enables you to modify any input
parameters. |
Outgoing task parameters |
Include the
transformOutgoingTaskParams method in
the
sn_ind_rmt_help.RemoteHelpParamTransformer
extension point. The method is called from the REST APIs for
getting a task list and task details before sending the
task-related data to the EMR system. |
Incoming URL parameters |
Include the transformURLParams method
in the
sn_ind_rmt_help.RemoteHelpParamTransformer
extension point. This method is called from a service portal
before storing the URL parameters. Note: If your EMR system
has an encryption algorithm, you can configure the
Incoming URL parameters method in
the
sn_ind_rmt_help.RemoteHelpParamTransformer
extension point to decrypt any encrypted task parameters
from your ServiceNow
instance. |
-
On the Extension Point form, click Update.