Custom fields require static text or a direct mapping of a field value. Enter the custom code for the advanced custom fields that needs more flexibility.
Perform the following tasks to create custom fields using custom JavaScript code:
Follow these steps:
The Folders pane opens.
For more information about the pane, see Configure Processes for ServiceNow Integration.
Note: If the icon labels do not display, select Edit User Preferences. Select Show icon information on the Configuration, and click OK.
The Check Out icon is disabled and the process is checked out. Custom fields are stored as Keys and Value arrays.
The Properties of the pane open.
Add custom javascript code here to access the SOI parameters that are defined in the dataset at /ServiceNow/Common Dataset and associate it to the incident parameters.
Note: For more information about how to add custom properties and sample code, see the code examples in Display a CA SOI Alert Instance.
The Source code pane closes and the code is saved.
The custom code is added to the process. The variables are saved in the create incident process.
The Versions page opens.
Important! Do not change the description field of the ServiceNow Incident. This field is used to identify the SOI Server that is used in the ServiceNow integration.
Note: For more information about datasets, see the CA Process Automation Content Designer Guide.
|
Copyright © 2013 CA.
All rights reserved.
|
|