API for 'Create Application File from Record'

The SN Nerd
Giga Sage
Giga Sage

Does anyone know the API to create an Application File?

I am trying to automate the functionality below:

list choice.png

create application file for record.PNG

Every time I increment my version, I want to automatically add a specific set of records to the application.

Thanks


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022
5 REPLIES 5

Hi Julian,



You are correct. It is similar to the user contributed "Force to update set" UI action we used to use (except that wasn't scope aware.) It should be noted that the UI action has a condition on it so it does not apply to all tables. sys_user_has_role is one that I ran in to when trying to set up a demo with some demo data.