1 of 1 people found this helpful
The issue is likely that a value is getting cached in the AFDataCache and there is no event that is triggering evaluation, so a single event (at the effective date of the element which is AFTime.MinValue by default) is being cached and extrapolated for all other events. What does your data reference return for GetInputs and SupportedDataMethods? What version of AFSDK are you using?
Thanks for including some detailed graphics. In addition to Sampled and Plot could you also include Archived data?
What is the actual source for the "Time on Site" attribute? In other words, where does it get its data?
Does your CDR implement a data pipe? If not, see Implementing the AFDataPipe in a Custom Data Reference.
Hi David and Rick.
Thank you for your quick replies!
I think I figured it out.
My GetInputs returns the attribute “TimeZoneId”, which has none DR and the value is a string which indicates the target time zone ID. Because of this, I thought the analisys (scheduled, 5 min) would always use interpolations and that I was never going to need the RecordedValues data method.
However, this is wrong. I tried including RecordedValues in my supported data methods and it works. Analysis uses the RecordedValues data method even if none of the inputs supports archived data.
Just in case this helps to anyone in the future, AF Version is 18.104.22.16885.