Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Cue the extraordinary. Show-stopping experiences that raise the digital bar. Apply now for the 2023 Adobe Experience Maker Awards.

Data Element evalutation Delay


Level 2


Cross posted from questions section:


I'd like more control over how and when data elements are evaluated.



You have a data element that accesses an object/property: "[0].length"

If that object or property doesn't exist (or you know it will show up later), JS throws undefined errors as soon as the page loads.



If I could say something like "delay initial execution" in a data element - and in theory what it would do is only evaluate the DE when it's called upon in a rule that would alleviate having to encapsulate most DE's in a try/catch



Level 4




I think you can use 'Rules' to mitigate this risk. So, one approach could be that you can set up a 'Value Comparison' condition in your rule to validate that[0].length" is greater than 0, then you can fire an event to use the data element.


Hope this solves your problem.


Level 2


Thanks for the reply - unfortunately no that doesn't address the actual problem - you can't control DE's from within rules like, in the manner the problem specifies, in Adobe Launch


Level 2


Yeah I know how to hack it - I want a feature from Adobe that solves for it in a more correct and scalable way, such as a toggle in the UI

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now