bjensen
Apprentice

Variables Losing Data

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?

0 Kudos
Reply
5 Replies
achilles_aditya
Apprentice

Re: Variables Losing Data

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

0 Kudos
Reply
bjensen
Apprentice

Re: Variables Losing Data

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.

0 Kudos
Reply
burkslm
Apprentice

Re: Variables Losing Data

Can you please post the workflow?

0 Kudos
Reply
xMikeX
Apprentice

Re: Variables Losing Data

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

0 Kudos
Reply
Fluepipe
Novice

Re: Variables Losing Data

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?

0 Kudos
Reply