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 Scheduled Job Activation

samuelbingham
Tera Contributor

Hello, how can I utilize ATF to set the active field to true on a Scheduled Job? So far I have used Record Query --> Open existing record --> Set field Value (Where I made it active) --> Click UI Action (Click 'Update' Global. Update button on existing records. Saved record and redirects to previous screen (usually a list)). 

After doing this I see the ATF perform the action and make the record active but once I leave the ATF it does not update the scheduled job to active. Although in the ATF window it seems like its doing this and updating. Can someone please help?

1 REPLY 1

Shaqeel
Mega Sage
Mega Sage

Hi @samuelbingham 

 

There is one functionality called rollback. So after the ATF test is executed it rollback all the changes/modifications so that it has zero impact on the system.

 

You can exclude the certain tail from rollback though.

Follow this link.

Solved: ATF exclude table - ServiceNow Community

 

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

 


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