Data Element change Event Type on Purchase Rule | Community
Skip to main content
July 27, 2021
Solved

Data Element change Event Type on Purchase Rule

  • July 27, 2021
  • 1 reply
  • 2355 views

Hi Team,

 

I have used data element change event type on purchase rule I have used Order_ID data element, but still the rule is not firing. Kindly help, as I am new to launch.

 

 

Note: the duration of data element is none.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jacob-DDdev

First test would be to try out that rule without whatever code you're using for the condition to see if that's what's blocking the rule from firing. So which page is the rule supposed to fire? Checkout, gateway, or confirmation?

Also, as a note, the event "Data Element Change" checks the variable at a frequency of 1 second. So if you are navigating away before the Core extension has an oppertunity to check the values within the data elements, that could be an issue.

1 reply

Jacob-DDdev
July 27, 2021

Hi @bindukumari1990 ,

 

Can you provide context in which the data element is being updated? Is it from within another rule or are you calling _satellite.setVar() directly? It seems more likely that the mechanism setting the variable is failing or the condition on the rule is not met.

July 27, 2021

@jacob-dddevorder_ID is being updated, in checkout page order_ID is null, so once user is redirected to order confirmation page then order_id is updated and I am calling_satellite.setVar() directly.

 

Note: But before order_confirmation page, payment gateway page comes.