Transform the contents of field using a set of rules and conditions.

Before you begin

Role required: admin or normalizer

Procedure

  1. Create a transformation record.
  2. Create one or more related transform records.
  3. Test the transform.
  4. Runs data jobs.

What to do next

If you want to also show what the original (raw) input value was prior to transformation, create a raw field to store this value.

Create a transformation record

Creating a transformation record is the first step in transforming a field.

  1. Activate the Field Normalization plugin.
  2. Navigate to Field Normalization > Configurations > Transformations.
  3. Click New.
  4. Create a transformation record.
  5. Click Submit.

    The Transforms and Data Jobs Related Lists appear on the form.

Create one or more related transform records

Each related transform record performs a specific transformation type such as adding characters to the beginning of the value or replacing one string for another. You may need to create multiple related transform records to generate a preferred output field value.

  1. In the Transformation record, select the Transforms Related List.
  2. Click New.

    A selection list of transform types appears, displaying only those transformations appropriate for the field type selected.

    Figure 1. Transform types
    Transform types
  3. Select a transform type and provide the appropriate parameters.
  4. Select an Order number for this transform.
    Note: The conditions for the transforms are executed according to the order numbers assigned.
  5. Select the Final check box to stop processing with this transform if the condition evaluates to true.
  6. Select the Case sensitive check box to force case sensitivity in the condition statement.

    The following transform example replaces the INC at the beginning of an incident number with the string ENG if the assignment group is ITSM Engineering.

    Figure 2. Transformation record
    Transformation record
  7. Click Submit.

    The new Transform appears in the Related List of the Transformation record.

    When the Transform is created, a Transformation application data job is also created. This data job applies this transform to appropriate records in the entire database and should not be run until testing is complete.

  8. (Optional) Repeat steps 2 through 8 until the output value meets your desired criteria.

Test a transform

Verify the transform changes the field value as desired before applying them to existing records in the database.

About this task

Note: Users must have the normalization_tester role to create test records.

New transformation records open in the Test mode by default, enabling administrators to test transforms thoroughly before applying them to the existing records in the database. In the test mode, the Start controls are not available for the Transform application data job. There are two methods, listed below, for testing transforms before committing the transformations to existing data.

Procedure

  • Manually create or update test records.

    In the test mode, only records that have been created or updated by a user with the normalization_tester role are transformed. Grant the normalizer and normalization_tester roles to the same user or grant them to separate users.

  • Use the Test transforms utility to enter a raw value and see the resulting transformed value.

    This feature enables a normalization tester to transform field values on the fly without opening or updating records. This utility tests all the transforms configured for this field.

    1. Open a Transformation record.
    2. Click the Test transforms Related Link.

      A dialog box appears for testing field values.

    3. Enter a value to transform in the Raw data field.
      Raw data field
    4. Click OK.

      The platform transforms the raw value in the Transformed data field.

      Transformed data field
    5. Enter new raw data to test other transforms.
    6. Click Cancel to end the test.
    7. When testing is complete, change the Mode to Active and run the data job.