The CreatorCon Call for Content is officially open! Get started here.

Platform Analytics: get data from pre-production instance

Tang Phat
Tera Contributor

Hi everyone,

 

Currently, my team runs ATF tests in pre-production instances such as Dev and QA. We want to display the analytics and reports of the test results in the Production instance. Is there any way to show the data from pre-prod instances on the prod dashboard?

My idea is that when the ATF test is completed, it will call the API from the Prod instance to pass the data to it. However, I'm not sure how to retrieve that data and display it in the dashboard components.

 

Any help would be appreciated.

5 REPLIES 5

Najmuddin Mohd
Mega Sage

Hi @Tang Phat ,

One thing that I can add here is, I believe the test results are stored in sys_atf_test_result table. 
Once an ATF is completed, probably when End Time is populated or Status is Success or Failure, you can create a Business rule to push the record in the same table in PROD instance, using Outbound REST Message, on which you can create reports.

Check out these two videos:

https://www.youtube.com/watch?v=pcuP6HP8QpA&list=PLKH9bPqlw1nfPpLULqorWsRiCKD2nNKUP&index=3


https://www.youtube.com/watch?v=es841K_rSms&list=PLKH9bPqlw1nfPpLULqorWsRiCKD2nNKUP&index=3

In the above, if you create an Incident, it will reflect in another ServiceNow instance, similarly you can try this usecase.

Just you need to exact trigger condition, which tells you, when the result is completed.

If the above information helps you, Kindly mark it as Helpful and Accept as a solution.
Regards,
Najmuddin.