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.

Update multiple records for testing cases in ATF

misprak
Tera Contributor

We have a custom table(xyz) in which records are inserted based on some condition on incident table. The number of records inserted is dynamic based on certain policies.
Now, I can move the incident to resolved state only if the assigned to person marks these related records as Completed.
How can we achieve the step of -"assigned to person completing the related records" in ATF?

8 REPLIES 8

Shaqeel
Mega Sage
Mega Sage

Hi @misprak 

 

As far I understood your requirement, You can do using "Record Update" step.

 

Reagrds

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

misprak
Tera Contributor

hi @Shaqeel 
In 'Record Update' we can update only a single record at a time right, since we have to insert a specific record number? And here the number of records inserted are dynamic.

misprak
Tera Contributor

hi @Shaqeel 

In "Record Update" we can update a single record since we have to populate a specific record number in the test step. And here, the the number of records inserted are dynamic.

Regards
Prakhar

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @misprak 

 

No, we cant update multiple records on one go , in ATF.

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

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