Unable To Start New To ServiceNow Learning Plan

saulnierdav
Mega Contributor

Hi, I'm trying to go through the New To ServiceNow Learning Plan and I've gotten stuck on the "Fork Repository and Import Application for the Importing Data Module" exercise section of the course. I've forked the GitHub repo for the NeedIt application and I've linked the Basic Auth Credentials to PDI, but I can't find a way to actually clone the repo into the ServiceNow Studio, attempting to import into ServiceNow IDE throws an error about a nonexistent .json file (the forked repo has no .json files whatsoever) and ServiceNow Studio doesn't even give me the option to import from a repo to begin with. I know that the NeedIt files are built for a significantly older version of ServiceNow (despite the training claiming to be for the current Zurich release), but I genuinely can't find anything newer. Is there any possible way to import the repo into either Studio or IDE so I can continue the course?

3 REPLIES 3

Matthew_13
Mega Sage

This is a common sticking point ive seen all so well.

Basically the short version:

  • You don’t import the NeedIt repo into ServiceNow IDE. That’s why you’re seeing the .json error.

  • The NeedIt training repo is meant to be imported via Studio, not IDE.

What to do:

  1. Go to System Applications → Studio

  2. Select Import From Source Control

  3. Use your fork’s HTTPS URL

  4. Use a GitHub credential (if you have 2FA, use a Personal Access Token as the password)

  5. Try the master branch first many training repos still use it

Even though the repo is older, Studio can still import it. The issue isn’t the repo age its using IDE instead of Studio and often the wrong branch or auth method.

 

@saulnierdav  - Please mark as Accepted Solution and Thumbs Up if find Helpful!!

Unfortunately, part of the reason why I was trying to use IDE was because I spent the better part of an hour digging through Studio to find the "Import From Source Control" button to no avail. A lot of the documentation and forum posts I read seemed to point towards the button appearing when you create a new Scoped Application, but despite numerous, the creation process keeps erroring out and throwing "Go back to the create app experience and enter a different scope name. Details: Failed to create templated object, details: This scope is already taken by another application" and I have no idea why that's happening. Is there something I'm just missing here?

Unfortunately, part of the reason why I was trying to use IDE was because I spent the better part of an hour digging through Studio to find the "Import From Source Control" button to no avail. A lot of the documentation and forum posts I read seemed to point towards the button appearing when you create a new Scoped Application, but despite numerous, the creation process keeps erroring out and throwing "Go back to the create app experience and enter a different scope name. Details: Failed to create templated object, details: This scope is already taken by another application" and I have no idea why that's happening. Is there something I'm just missing here?