API for Update Sets

naokihada
Kilo Contributor

Hi,

Is there API for System Update Sets?

I could transfer workflow to other server by following instruction on web UI.

Moving Workflows with Update Sets - ServiceNow Wiki

Is there any API available for following steps?

1) Load XML for System Update Sets

2) Preview imported Update Set.

3) Commit imported Update Set.

Thank you,

Naoki

1 ACCEPTED SOLUTION

Hi Naoki,



The code which is written in the UI actions I send you can be used to create the appropriate logic in an inbound web service. Which logic would go in those web services would depend a lot on the process / features of the automated deployment that you will like to implement.



http://wiki.servicenow.com/index.php?title=Web_Services#Inbound_Web_Services



Thanks,


Berny


View solution in original post

22 REPLIES 22

bernyalvarado
Mega Sage

Well, indeed. All these actions have a corresponding UI action code the one you can take a look at to automate the process:



yourinstancename.service-now.com/sys_ui_action_list.do?sysparm_query=table%3Dsys_remote_update_set  



Perhaps the one tricky part is going to be the preview / disposition process of the update sets since each conflict needs to be disposition by looking into the differences among the environments.



Thanks,


Berny


Hi Berny, Thank you very much for the info


Hi Berry, Could you give me a pointer how I can use these "UI Action" for automation?


Is these available to REST API?


I can see the list of related actions. It looks match to the UI steps.


Thank you, Naoki


Hi Naoki,



The code which is written in the UI actions I send you can be used to create the appropriate logic in an inbound web service. Which logic would go in those web services would depend a lot on the process / features of the automated deployment that you will like to implement.



http://wiki.servicenow.com/index.php?title=Web_Services#Inbound_Web_Services



Thanks,


Berny