Expand my Community achievements bar.

Sending value thorugh different Actions in Rule

Avatar

Level 9

I would like to use value from Point 1 into Point 3 in order to set up event in AJO with email value. How to move value between different nodes from 1 to 3? 

Michael_Soprano_0-1743079342868.png

I tried that way:

1. Set up Data Element type of constant.

 

Michael_Soprano_1-1743079386657.png

 

2. Update that Data Element Variable 1 in Point 1 like that:

const email = document.querySelector('input[name="email"]').value;
_satellite.setVar('Variable1', email)

 

3. Use the value from Point 1 in Point 3

Michael_Soprano_2-1743079549616.png

I think I might miss something and it does not work. Any help?

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

Hi @Michael_Soprano 

constant data elements cannot be changed (hence they are constant).

In fact, you cannot modify any Data Element's value that you have defined in the UX through calling _satellite.setVar

 

Try getting rid of the constant data element and only use your code _satellite.setVar("Variable1", "someValue");

and _satellite.getVar("Variable1") in your custom code, (respectively, you can use the percent syntax %myDummyVar% in the Launch UX)

Cheers from Switzerland!