Skip to main content
Nintex Community Menu Bar

Increment DataField

  • February 8, 2006
  • 2 replies
  • 11 views

Forum|alt.badge.img+7
Hi all,

can I increment a DataField (integer) in a LineRule. Somehow I don't get it work. I want to add 1 (DataField + 1)for each time the process goes that line.

Thx

2 replies

Forum|alt.badge.img+7
  • February 9, 2006
of course, you can do it by editing the code of the line rule.

Just keep in mind that data fields are object and you have to cast them before using them.

for int, and to incremente, I used

.Value + 1;


the "++" operator didn't work for me...

Forum|alt.badge.img+7
  • Author
  • February 9, 2006
Thx Tan.