Installing app into PDI via an update set throws errors

J Cheung
Tera Contributor

Hello All,

 

Instance version(s): Utah and Tokyo

Problem began: Very recently (as of 2023-03-31)

 

I exported an update set from my packaging instance (venxxxxx) and tried to install it onto my development instance. It's been working flawlessly until today. Now all of a sudden all the files in the update set throws the "Failed to validate scope '<my_app_scope>' for update '<item>'" errors during the Preview Update Set stage. The Update Set Preview Problems tab is filled with the following error description:

"Cannot commit Update Set '<myapp>' because: Scope '<my_app_scope>' is not 'Global', not found in instance, but is found in app store. Install application from app store. Resolve the problem before committing."

 

Since this is a developer instance, installing from the app store is not possible. Has something changed recently to prohibit installing this way? How can I install my published app to my PDI for development/troubleshooting purposes?

 

Any help would be appreciated. 

Thank you,

 

Jason

1 ACCEPTED SOLUTION

DrewW
Mega Sage

I had this issue yesterday and simply just exported the application record (sys_app) to XML and imported it into the PDI and the problem was solved.

 

View solution in original post

14 REPLIES 14

Have you exported the sys_app record from the original instance and imported it into your PDI before trying to install the update set?  My experience has been that the sys_app record has to be in the update sets or you have to import it ahead of time.

I reviewed the update sets and the sys_app record is already in them. I have never had to import it ahead of time and these are the same updates that I have been importing for a very long time with no issues. 

Aerial Reptile
Giga Expert

Same thing happened with me too. Until maybe a week back, I was able to commit my update set containing the app with no errors. And now when I try to do the same with a new PDI, I get the exact same errors. The customer update for the app is present in the update set, and for some reason, that update is not getting validated.

Any idea if this will be addressed in the future servicenow versions?

isqc
Tera Expert

Thanks for the workaround @DrewW , it also worked fine for us. 

This is really annoying though, I wonder if anyone is aware of another way to install store apps from update sets on PDIs?

Ben Major
Tera Contributor

Same problem here. Going to log a HI ticket, although we already did and they said that PDIs aren't supported. Fortunately this also happens on one of our development boxes, so they'll have to pay attention!