Unable to find Generate Random NeedIt Records Script

Syed Multhazim1
Tera Contributor

Hi,
As I was going through the Performance Analytics course in the developer site, I came across a particular task where I have to execute the "Generate Random NeedIt Records" scheduled script action. Unfortunately, I'm neither able to find this in my instance nor in the ServiceNow Git repository. 

The ask is: It would be helpful if someone can send me the xml of that script action.

 

Reference to the task: https://developer.servicenow.com/dev.do#!/learn/learning-plans/utah/servicenow_application_developer...

Thank you !

1 ACCEPTED SOLUTION

Bert_c1
Kilo Patron

Hi Syed,

 

Did you create the NeedIt application? There is a course for that "Build the NeedIt Application".  If so, I would think you could continue with that exercise.

 

View solution in original post

11 REPLIES 11

Bert_c1
Kilo Patron

Hi Syed,

 

Did you create the NeedIt application? There is a course for that "Build the NeedIt Application".  If so, I would think you could continue with that exercise.

 

Hi Bert,

I did follow the steps to fork the app from GitHub, import from source control in ServiceNow and finally created a new branch as well. Still, I couldn't see the script action in the Studio.

To confirm if the script action existed in the Github, I searched for it, but I could only find the script actions that were pulled except the one I'm looking for.


Script Actions in GitHub:

SyedMulthazim1_1-1691911785955.png

 

Script Actions in ServiceNow:

SyedMulthazim1_2-1691911838753.png

 

Please let me know if you need anything else.

Thank you.

 

Hi Syed,

 

I can't help with that. I have committed an app to GitHub in the past and retrieved it on another instance without problems. But that is not something I do regularly. I prefer to use the Servicenow feature that allows publication to a Servicenow "app repository" that all company instances can use to update their app instance when a new version is 'published' from the dev instance.

Hi Bert,

I requested for a new PDI and pulled the app from github repo, it worked there. I was able to find the script action. But, still I'm unsure about why was it not showing up when I created a new branch in my previous instance from the same tag.
Let me know if you have any idea on that.

 

Anyways, Thank you so much for your support on this. It was really helpful.