Copying custom attribute data to system attribute

Last Updated : Oct 31, 2025 |

About this task

Use this procedure to copy Custom Attribute data to the System Attribute - System AgentId. You must do this task only when you have performance issues with any single Custom attribute using the webservice Get Contact Batch from Contact List.

Note:

To avoid performance issues, you must stop all POM services before you run this script. This script is a one-time activity for migration of existing Custom attribute to System attribute. Any subsequent changes in custom attribute does not automatically reflect in System attribute.

Procedure

  1. Log in to primary EPM as a root or sroot user.
  2. Type cd $POM_HOME/bin and press Enter.
  3. Type ./migrateCustomToSystemAttr.sh and press Enter.

    POM displays a message confirming that the migration has started.

    Example: Started with Migration Script - Mon Oct 12 21:02:08 IST 2020. Please enter below details for Migration of Custom Attribute to System Attribute - Custom attribute name:

  4. Type the Custom Attribute name and press Enter.

    POM displays the messsage Do you want to migrate this attribute for all Contact lists? (Y/N):

  5. Type No and press Enter.

    If you select Yes, POM does not prompt you for Contact list names and migrates all contact lists using this custom attribute.

    POM displays the following message:

    Please provide Contact list names using this attribute separated by comma(,):

  6. Type Contact List Names separated by comma and press Enter.

    POM displays the following message:

    Migration is in progress now.….

    Migration is completed now - xxx xx xx xx:xx:xx xxx xxxx