In ATF: do not rollback after a form is submitted

Zauberkeks
Tera Contributor

Dear colleagues,

 

in ATF I am opening a new form, setting some fields, then saving the form.

How can I prevent the form from rollback?

I need the entry in the database table, because it should be picked up by some external program via API.

Thank you for your response.

 

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

Hello

There is no functionality to stop ATF rollback, it's core to the design. 

View solution in original post

2 REPLIES 2

Kieran Anson
Kilo Patron

Hello

There is no functionality to stop ATF rollback, it's core to the design. 

Shaqeel
Mega Sage

Hi @Zauberkeks 

 

I have done it for incident table earlier, don't know about database.

 

For setting "Exclude from Rollback" to "true" on Incidents. Navigate to list of view incidents,

1)Select Configure Dictionary from List Context Menu options

2)Select the row which has no column name which is empty 

3) Choose Advanced View -> In the attributes add 'excludeFromRollback=true'

Shaqeel_0-1732520984340.png

Here is the servicenow doc for it:

Tables excluded from rollback after running an automated 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

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