Can GetValue method persist longer as needed?

Discussion created by kpotter on Jan 17, 2014
Latest reply on Jan 21, 2014 by mhamel
We are using the method:  MyAttribute.GetValue.Value  to retrieve the current value from an AF attribute. When we have the code on a machine other than the AF Server, with more complex formulas in the attributes, we end up pulling a value of 0, although the attribute value is non-zero. I’m quite sure that the issue is that the method cannot get the value promptly enough, so it is returning zero.  Also note that it is NOT throwing an exception. Is there a way to have it try longer to get a non-zero value? Thank you!