Platform Analytics: get data from pre-production instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2025 07:54 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 01:29 AM - edited 01-03-2025 04:09 AM
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.