Processing Rules - Setting Counter eVars from Context Variables | Community
Skip to main content
August 25, 2017
Solved

Processing Rules - Setting Counter eVars from Context Variables

  • August 25, 2017
  • 4 replies
  • 1856 views

Hi there,


I want to increment a counter eVar by one each time i receive a context variable.

It seems logical i should be able to overwrite the value of the eVar with "+1" when I receive the context variable.

Would this increment a counter eVar or simply write the value as literally "+1"

Thanks,

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 EricMatisoff

I'm *pretty* sure this works as expected (a "+1" in the processing rule value for a counter eVar results in the number being incremented). Do you have a dev report suite to confirm it? If not, I do and can let you know for certain.

4 replies

EricMatisoff
Adobe Employee
EricMatisoffAdobe EmployeeAccepted solution
Adobe Employee
August 25, 2017

I'm *pretty* sure this works as expected (a "+1" in the processing rule value for a counter eVar results in the number being incremented). Do you have a dev report suite to confirm it? If not, I do and can let you know for certain.

mogroganAuthor
August 25, 2017

Hi -

Sounds positive - I don't have access so if you could confirm that would be amazing.


Thanks!

Gigazelle
Adobe Employee
Adobe Employee
August 28, 2017

Based on my knowledge of how contextdata variables and evars work, this shouldn't be a problem. If it is, let us know and we can figure out an alternative.

EricMatisoff
Adobe Employee
Adobe Employee
August 28, 2017

Confirmed - I was able to set +1 and +2 in a processing rule for a Counter eVar and it worked as expected.