Errormessage on data preview

Hi,

I've a filter in a queryblock which gets a "constant" from a lookup. It compares with the last modification date:

 

DATEADD("d", LOOKUPTABLEVALUE2("_CONSTANTS", "SYNCDAYS") * -1, GETDATETIME())

 

If I try to open the data preview I get the following message:

ERROR: error CS0103: The name 'processSupport' does not exist in the current context at (39,277), Source= ExpressionExtensions.ReplaceMappingsRecurse(query.Constraints, @"&valueToExpression0", Scribe.Core.ProcessDefinitionFunctions.DateFunctions.DateAdd(@"d", Convert.ToInt32(Convert.ToDouble(Scribe.Core.ProcessDefinitionFunctions.LookupFunctions.LookupTableValue2(processSupport, @"_CONSTANTS", @"SYNCDAYS")) * Convert.ToDouble(-1)), Scribe.Core.ProcessDefinitionFunctions.DateFunctions.Now()));

Looks like a bug

(1) Answer

Login