The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Global vs Application update set question

christophe_beck
Mega Contributor

Hello,

Not so long ago, i lost my PDI because of inactivity.

Since then i rebuilt the whole thing, and now i'm interested into saving all my work.

But i'm wondering if i'm doing this correctly.

Brief explanation :

1 - Started raw PDI

2 - made a service, so i created a table inherited from task, and added some custom fields (in global app)

3 - created an application and said "create from service" with the service just created.

4 - made some API, business rule, customisation of forms & UI policies in application ( in application scope )

Now i'd like to save this, so i'm creating an update set as described here : https://developer.servicenow.com/app.do#!/document/content/app_store_doc_getting_started_fuji_topic_...

So i've got a nice XML file of about 800 Ko of my application.

But i'm afraid i need an update set of the modification in global application i made before creating my app since i created this app ABOVE the service.

Because sometimes, there is a message at the top saying i'm editing something in the global scope, and not in my current application ...

And this, creating an update set for global application, I'm not finding the way to achieve it.

Or am I Wrong and the U.Set of my application is all i need i my pdi was to be resetted again ?

Thank you !

Christophe.

1 ACCEPTED SOLUTION

Yes. But keep the application scope one in global scope and then create an local update set and select your application in application ticker and then again create an another update set.


View solution in original post

11 REPLIES 11

Sashi K1
Kilo Guru

Hi Christophe


If you understand your question correctly, you have two kind of changes to capture. One in global scope - all extended table information, second your custom scope - all rules/scripts added under that global scope.



So you will have two update sets to save. Now use your first update to 'Export update set to XML' to upload and save.


For your custom app, go to Studio IDE, open your custom app, use publish to an update set feature. That captures all your changes under a new update set.
to use publish to update set feature, go to left nav --> Applications --> Click on your Application name --> <you see a related link, publish to an update set>





So you end up having two update sets. Does my reply helpful?


Thank you for your answer, it confirms what i thought: I need 2 updates sets.



I think i understood & already manage to extract my Application update set.


But i'm not sure how to do it for the "global scope - all extended table information"



How do you get this one ?


Hello,



You have to create an update set in global scope to capture the updates done in global.


And as you already did, but just to let you know, create an update set by turning on your application scope.


So that you will have two update sets and you can capture customizations depending upon which scope you are doing.


i would suggest first get the global application. as per your customization



1 - Started raw PDI


2 - made a service, so i created a table inherited from task, and added some custom fields (in global app)



you have already created the structure in global application. like you said table and fields.



then move the custom app


here you have written only scripts and services.



I had faced similar kind of issue in one of my project but the main challenge was some the changes in   the table has been made in global application and in custom application. that's gave me lot of pain . so at your case you have created structure in global . so you can try to first   global and then custom one