Copying a Rule over to another Tag Property that Uses Update Variable? | Community
Skip to main content
New Participant
November 18, 2024
Solved

Copying a Rule over to another Tag Property that Uses Update Variable?

  • November 18, 2024
  • 2 replies
  • 687 views

We are converting a lot of cookie cutter sites over to SDK/CJA. We are using the XDM variable data element and update variable action in some of our rules. If I copy a rule that was using update variable over to a new tag property, will this create issues? What happens to the update variable action since it is now pointing to a different schema? Do I have to go in and reconfigure the XDM object in the Variable Editor if the schemas are structured the same and only have different names? For example, Property A has Schema A, Rule A and Data Element A (uses data element type of "variable" which points to Schema A). Rule A has an action of "update variable". I now copy over Rule A over to Property B. What changes will I have to make, if any, if Property B has a Data Element B (uses data element type of "variable" which points to Schema B but Schema B has same structure as Schema A). Will I have to do anything to the copied over Rule A which is now named Rule B, in the variable editor? I hope this makes sense!?!?!

 

Thanks!

Best answer by MichaelJo13

I forgot to reply back to this. What happened was that in my rule I had the adobe analytics piece report but not the interact call. I had to delete the update variable action and recreate it, in order for the interact call to be invoked.

2 replies

kautuk_sahni
Employee
December 2, 2024

@michaeljo13 Were these suggestions helpful? If you've resolved the issue on your own, please share your solution to benefit the community. Thank you!

Kautuk Sahni
MichaelJo13AuthorAccepted solution
New Participant
December 30, 2024

I forgot to reply back to this. What happened was that in my rule I had the adobe analytics piece report but not the interact call. I had to delete the update variable action and recreate it, in order for the interact call to be invoked.

bjoern__koth
New Participant
November 18, 2024

Good one! To be honest, I would assume/hope for build errors, but haven't tried it myself.

Maybe give it a try and be our guinea pig? 😉

Cheers from Switzerland!
New Participant
November 18, 2024

I plan on trying this coming weekend if I don't get an answer here. I'll let you know!

 

Take care!