ATF Update set creation, scopewise or not? Guidance on correct approach.

Parul Kaushik
Tera Contributor

Hello,

 

Could anyone please advice if for creating ATF Test scripts for ITSM, do one needs to create separate update sets, application scope-wise? For e.g.; For INC/PRB/CHG ATFs, should one update set be created each in Incident/Problem/Change ATF Application scope only, or should those all can be created in Global scope itself ?

 

What does the best practice say about this? Or what should be the correct approach here?

 

Looking for ease in ATF's Update set management during my project while test creation, and would like to avoid any loss/error later as well during the update sets movements to Test/QA instance from Dev.

 

Thanks!

1 ACCEPTED SOLUTION

Exactly, you can also find supporting resources here:

1. From ServiceNow Employee: https://www.servicenow.com/community/secops-forum/how-can-i-capture-updates-from-different-scoped-ap...

2.  From ServiceNow Dev Programhttps://www.youtube.com/live/0A1o0_gjqUc?si=4VaEltE_C-xDtsha

Hope this helps!
Regards, Akash
_____________________________________________________________________________
Please mark it as helpful 👍 or Accept Solution ✔️ based on the response to your query.

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.

View solution in original post

4 REPLIES 4

Akash4
Kilo Sage
Kilo Sage

Hello Parul,

1. The ATF Tests created in Global scope are generally for Catalog, Portal and Platform features. For ITSM it is suggested to create in ATF specific scope e.g. Change Management - ATF (sn_change_atf)

2. Secondly, to avoid any missing custom updates/conflicts following is recommended for multiple scopes: 

  • Create a parent update set in Global Scope, then create child update sets within their own scope (this can be done by setting Parent=GlobalUpdateSet in all childs)
  • Perform Export XML on the Parent global Update Set and import on target instance, preview and commit.

Hope this helps!
Regards, Akash
_____________________________________________________________________________
Please mark it as helpful👍 or Accept Solution✔️ based on the response to your query.

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.

Hi Akash, thanks for the guidance.

A follow-up for better understanding, so after every release, I should be creating a new Parent Update Set in Global, containing all the child update sets (for ITSM- within their ATF specific scope), this I need to migrate to Target instance in the next release, and this approach will continue for subsequent releases ... right?

 

 

Exactly, you can also find supporting resources here:

1. From ServiceNow Employee: https://www.servicenow.com/community/secops-forum/how-can-i-capture-updates-from-different-scoped-ap...

2.  From ServiceNow Dev Programhttps://www.youtube.com/live/0A1o0_gjqUc?si=4VaEltE_C-xDtsha

Hope this helps!
Regards, Akash
_____________________________________________________________________________
Please mark it as helpful 👍 or Accept Solution ✔️ based on the response to your query.

Regards, Akash
If my response proves useful, please mark it "Accept as Solution" and "Helpful". This action benefits both the community and me.

julianponce
Tera Contributor

Hi, great advice. How would you consider for custom scoped applications? Should create tests in scoped app or in global?