Copy Phone field data to mobile field

Avatar

Avatar

ihm185

Avatar

ihm185

ihm185

30-04-2019

Hello everyone,

we have Adobe campaign v7 classic instance where we have existing recipient records. Till now contact number was added to phone field. We have recently introduced SMS and it is not considering phone field to target SMS deliveries. It requires mobile number field to be populated for the SMS delivery to be sent.

In order to make it work either,

  1. We need all the contact numbers from phone field copied to mobile field
  2. or change SMS delivery targeting from mobile number to phone number.

Please help me how we can do this.

Kind regards,

Imran

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

30-04-2019

Hi,

Update activity will alter the audit fields, @lastmodified, etc, and may miss data if executing concurrent to a data load.

To do a straight atomic copy, use sql script: update nmsrecipient set smobilephone = sphone;

Make sure to update existing ETL's, etc accordingly.

Changing the address mapping also works, though you'd be stealing phone channel's field, making it awkward if that gets installed in the future.

Thanks,
-Jon

Answers (5)

Answers (5)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

01-05-2019

Hi,

Yes, under admin/config/sql scripts. Run button's in the top right.

You can also do it using sql script workflow activity, which will give you error logs.

Thanks,

-Jon

Avatar

Avatar

ihm185

Avatar

ihm185

ihm185

02-05-2019

Thank you so much Jon.  I appreciate all your help.

Kind regards,

Imran

Avatar

Avatar

ihm185

Avatar

ihm185

ihm185

01-05-2019

Hi Jon,

thank you for replying. Please excuse my ignorance but can we run SQL scripts in an Adobe-hosted instance.

kind regards,

Imran

Avatar

Avatar

ihm185

Avatar

ihm185

ihm185

30-04-2019

Thank you for replying. I really appreciate your help.

Avatar

Avatar

Venu_Reddy

MVP

Avatar

Venu_Reddy

MVP

Venu_Reddy
MVP

30-04-2019

Hello ihm185​,

You can copy the phone field data to mobile field using update activity and make sure both fields are of same data type.

Regards,

Venu