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.

Automating App Scope creation

Ron28
Mega Sage

Currently in our company creating an app scope is restricted to some users and I've been asked to see if creating an app scope can be automated, where a user requests this via a Catalog item triggering the flow for the automation. Has anyone done this before?

Thanks

Ron

2 REPLIES 2

lauri457
Giga Sage

The exercise of creating a scoped app with a script seems fairly trivial if you look at the rollback for an insert into sys_app or what is included when you export an app into an update set.

lauri457_0-1764029070883.png

We already have the application intake app and many features in AES I'm not familiar with. Maybe something that suits your requirements already exists? Other than that I'd think of the resources spent on building, testing and maintaining this vs. the quantity of apps being created. 

Ron28
Mega Sage

Thanks, indeed it seems less of an issue than I first thought. I checked the records in the update set when creating a new app scope, there were only 3 record - two of which were the default roles.

I tested creating a new app scope with default roles which works ok, it will need to run from a script in the global app scope. I can open the new app scope in AES so this is looking hopeful. 

Ron