How to get the status of Backfill /Recalculate when the Analysis runs successfully via C# code?

 


image.png.png
There are around 25- 28 Analysis I am running in a loop on a single PI AF server, so once the first loop gets executed, I have to check the status if is completed or have error and also to log how many events processed. After logging the current loop results, it should run another analysis. How can I achieve this functionality with C# code?

Parents
  • Hello (Missing Content)​ and (Missing Content)​ ,

    Please accept my apologies for the late reply. I was busy but didn't forget your posts.

    When looking at the documentation, there appears to be no option to differ between backfilling and recalculation. When queuing Analysis, there is only option to specify the calculation mode, so how to deal with eventually existing data and if dependent calculations should as well be executed. With this it makes sense to me that QueryRuntimInformation does not make that distinction. To my understanding, there is no need to make the differentiation because the operation also isn't different between backfilling and recalculation.

    I didn't check for the related enhancement request also because I was not involved into any related discussions. I am just making conclusions based on the documentation.

  • QueryRuntimInformation seems to be only for real-time analysis and does not provide any access to the backfilled analysis statistics. ​ I really just want to know when my backfilled data last recalculated so I can guarantee the data is "correct". Maybe I can find an enhancement request for this and hope development will get to it soon!

Reply Children
No Data