Hi,
I have set up a rule with WebSDK, however the 'Update Variable' action is not updating values in XDM, there are the same values as they have been defined in XDM Data Element.
Rule:
Example:
XDM:
prop24 = 1
Update variable:
prop24 = abc
What can be a reason of the issue?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
You can only use the update variable on variable data elements. For this you can use either the XDM or Data type. And both you can use either in the XDM or data payload of the Web SDK send event interface.
just make sure you are using the right variable in the right field
consider below if works @kamil_tagging
- Validate that the Edge Configuration includes the correct XDM schema and fields.
- Data collection /Tag are published and implemented on site, on the environment ur testing
- validate XDM mapping and data type for value
- Use AEP debugged to see if any error on the console
Views
Replies
Total Likes
could you add screenshots of your actions and the network request?
Thx
Views
Replies
Total Likes
Hi,
Update variable action:
Send event action:
XDM Data element configuration:
XDM variable data element:
AEP debugger:
So please correct me if I'm wrong, in this above case the value for prop24 should be updated by Update Variable action from prop24 = 1 to prop24 = abc.
Views
Replies
Total Likes
you're updating a different XDM variable than you are sending as it seems?
Update is on: WEB SDK - Variable - XDM
Send is with: WEB SDK - XDM - CountrySelect
Hi @bjoern__koth
Ok, now I got it.
I thought that there is also an option to update XDM object Data Element using 'Update Variable' action, but what I understood we can only update the Variable Data Element.
Thanks for help!
Views
Replies
Total Likes
You can only use the update variable on variable data elements. For this you can use either the XDM or Data type. And both you can use either in the XDM or data payload of the Web SDK send event interface.
just make sure you are using the right variable in the right field
Views
Likes
Replies
Views
Likes
Replies