jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Configure an extension point to add contract metadata

On this page

Configure an extension point to add contract metadata

Update the script in an extension point to specify fields in a related contract repository table where you want to add the extracted information for unmapped fields of a metadata extraction use case.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > System Extension Points > Scripted Extension Points.

  2. In the API Name field, search for sn_cm_gen_ai.NowAssistUpdateMetadataExtractedValuesExt.

  3. Select the record.

  4. Select the Create implementation related link.

  5. On the Script Include form, fill in the fields.

    For a description of the field values, see Scripted Extension Point form fields.

  6. In the Script field, update the script to specify the contract repository related table and the field mapping

    • In the canHandle function, add the request table name where you want to update the extracted information.

    • In the updateContractRepositoryFields function, add a script to update the fields. The extracted metadata will be fetched from the retrievedFieldsData parameter.

  7. Select Update.

Result

The script specifies the related contract repository tables and their field mappings. After metadata extraction, values from these fields are added according to the defined mapping.

For more information on metadata extraction use case mapping, see Map a use case for contract metadata extraction.

Parent Topic:Configuring contract metadata extraction

Related topics

{Create use cases for contract metadata extraction}[]

{Map a use case for contract metadata extraction}[]

{Configure system properties for contract metadata extraction}[]

{Enable notification for contract metadata extraction}[]

{Configure the URL for metadata extraction notifications}[]

Keep exploring.

Find another answer, or bring this documentation into your own tools.