Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF exclude table

Raj4u789
Tera Contributor

Hi All,

 

How can you exclude any table from rollback after a test run that is not excluded OOB?

 

Thanks In advance.

 

Regards

1 ACCEPTED SOLUTION

Shaqeel
Mega Sage
Mega Sage

Hi @Raj4u789 

 

Tables can be excluded from the rollback after a test run by adding an excludedFromRollback=true Attribute to their Collection record in System Definition > Dictionary.

PFB the screenshot.

Shaqeel_0-1694508906710.png

Kindly mark it as solution if it helps.

 

Regrds,

Shaqeel


***********************************************************************************************************************
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

Shaqeel

View solution in original post

1 REPLY 1

Shaqeel
Mega Sage
Mega Sage

Hi @Raj4u789 

 

Tables can be excluded from the rollback after a test run by adding an excludedFromRollback=true Attribute to their Collection record in System Definition > Dictionary.

PFB the screenshot.

Shaqeel_0-1694508906710.png

Kindly mark it as solution if it helps.

 

Regrds,

Shaqeel


***********************************************************************************************************************
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

Shaqeel