I want to update an 'all subscribers' custom attribute in the parent bu to match what is in my sending DE in my child unit.
Currently i have a custom attribute in 'all subscribers' called 'contact_type_cd'. I also have a sending DE with a matching column name 'contact_type_cd'. Whatever the value is in my sending DE of my child BU, i want to be updated to the 'all subscribers' level.
For example if my 'subscriber_key' in my sending DE has a value of "dog" in 'contact_type_cd' column i want that same key to reflect the "dog" value in 'all subscribers' if it were to have a value of lets say "animal".
I was hoping the updateDE ampscript function would work, but it doesnt seem to since it is all subscribers or unless my code is wrong.
set @subscriber_key = AttributeValue('subscriber_key') set @contact_type_cd = "dog" UpdateDE("_subscribers",1,"subscriber_key", @subscriber_key, "contact_type_cd", @contact_type_cd)
Is there any other ampscript that i could put in my email that would execute my need at send time? or possibly a simple automation?