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
BedrockMission!

Learn More

View all

Sign in to view all badges

Processing Rules - Setting Counter eVars from Context Variables

Avatar

Avatar
Validate 1
Level 1
mogrogan
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
mogrogan
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mogrogan
Level 1

24-08-2017

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,

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
Employee
ericmatisoff
Employee

Likes

151 likes

Total Posts

275 posts

Correct Reply

77 solutions
Top badges earned
Coach
Contributor
Shape 10
Shape 1
Ignite 5
View profile

Avatar
Coach
Employee
ericmatisoff
Employee

Likes

151 likes

Total Posts

275 posts

Correct Reply

77 solutions
Top badges earned
Coach
Contributor
Shape 10
Shape 1
Ignite 5
View profile
ericmatisoff
Employee

25-08-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.

Answers (3)

Answers (3)

Avatar

Avatar
Coach
Employee
ericmatisoff
Employee

Likes

151 likes

Total Posts

275 posts

Correct Reply

77 solutions
Top badges earned
Coach
Contributor
Shape 10
Shape 1
Ignite 5
View profile

Avatar
Coach
Employee
ericmatisoff
Employee

Likes

151 likes

Total Posts

275 posts

Correct Reply

77 solutions
Top badges earned
Coach
Contributor
Shape 10
Shape 1
Ignite 5
View profile
ericmatisoff
Employee

28-08-2017

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

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

470 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

470 likes

Total Posts

1,947 posts

Correct Reply

739 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

28-08-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.

Avatar

Avatar
Validate 1
Level 1
mogrogan
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
mogrogan
Level 1

Like

1 like

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mogrogan
Level 1

25-08-2017

Hi -

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


Thanks!