Skip to main content
Nintex Community Menu Bar

Variables Losing Data

  • August 17, 2016
  • 5 replies
  • 17 views

Forum|alt.badge.img+3

Hello,

I have recently started seeing variables within two of my workflows dropping data. I can set the data and use it immediately, but later on in the workflow the variables come up empty of values. There is nothing else in the workflow that touches or manipulates the variable.


Here is the real fun part, this does not happen when I run the workflow, but only when other people that are not administrator's run the workflow. Including people who have full control over the site and all items within the site. One of the workflows is a site workflow, the other is a list.

Anybody ever encounter this?  If so, know how to fix?

5 replies

Forum|alt.badge.img+9

Can you try to log the values of the variables between each action to check if the values are losing somewhere in between?


Forum|alt.badge.img+3
  • Author
  • August 18, 2016

The workflow in question has a lot of actions between the uses. That is a good thought and I will give that a try and see if it can help narrow down when.  The problem is so inconsistent finding a root cause has been elusive so far.


Forum|alt.badge.img+11
  • August 18, 2016

Can you please post the workflow?


Forum|alt.badge.img+12
  • February 4, 2017

Hello, did you ever get to the bottom of this?  


Forum|alt.badge.img
  • March 3, 2020

I've got the same problem from one loop iteration to the next:

 

VAR = 1

Begin Loop

    ...

    VAR = 2

    ...

End Loop

 

I checked: at the end of the first loop iteration (right before the "end loop"), the value was still VAR == 2.

Yet, at the start of the second loop iteration, the value was reset to VAR == 1.

 

It's a large loop with many different actions in it though, but the reset of a variable seems to be a major bug... am I missing something?