In ATF once i want to delete the incident after completion of testing if i click Delete

kranthi2
Tera Expert

Hi,

In ATF once i want to delete the incident after completion of testing if i click Delete then it is opening one popup which is mentioned in the below screenshot.

kranthi2_0-1752135641165.png

 

 

 

Please help me out what ATF test steps should i need to use for this ?

Kindly help me out the test steps.

 

Thanks

 

14 REPLIES 14

Shraddha Kadam
Mega Sage

@kranthi2 ,

 

On the created incident SLA has been attached, so when you are trying to delete the incident, it is asking to delete the attached SLAs as well.

 

But why do you want to delete the ACL? Also, instead of delete you can change the state of incident to Cancelled and SLA will automatically cancel as well

If my response was helpful, please mark it as correct and helpful.
Thank you.

Hi @Shraddha Kadam  I am performing this through ATF actually.

I wanted to delete the incident after completion of Testing.

 

Thanks

Hello @kranthi2 ,

I haven't tried it before, but as mentioned in the support article by Atul, try to use Glidemodal step to delete the SLA.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0786683

If my response was helpful, please mark it as correct and helpful.
Thank you.

Hi @kranthi2 

 

I believe this is out-of-the-box (OOTB) behavior in ATF. Once an ATF test is completed, it automatically rolls back and deletes the records that were generated during the test."

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG 

Correct, but in my case it is not happening actually hence i am deleting it by using the ATF test steps.

Please help me out the configuration steps for the same.

Thanks