Skip to content

Create Get List of Duplicate Script Include Names#63

Merged
niamccash merged 2 commits intoServiceNowDevProgram:mainfrom
bkb68:Duplicate-Script-Includes
Oct 2, 2024
Merged

Create Get List of Duplicate Script Include Names#63
niamccash merged 2 commits intoServiceNowDevProgram:mainfrom
bkb68:Duplicate-Script-Includes

Conversation

@bkb68
Copy link
Copy Markdown
Contributor

@bkb68 bkb68 commented Oct 2, 2024

Creates a script that checks Script Include API Names for duplicates, which is technically possible and maddening to troubleshoot when you can't figure out why your script is not running.

@niamccash niamccash self-assigned this Oct 2, 2024
@niamccash
Copy link
Copy Markdown
Contributor

Did you mean to submit this to the code-snippets repository?

This repo is for generative AI prompts.

@bkb68
Copy link
Copy Markdown
Contributor Author

bkb68 commented Oct 2, 2024 via email

@niamccash
Copy link
Copy Markdown
Contributor

Was the prompt you used print a list of Script Include Names that are duplicated?
The prompt should be included in your submitted file.

@bkb68
Copy link
Copy Markdown
Contributor Author

bkb68 commented Oct 2, 2024 via email

@niamccash
Copy link
Copy Markdown
Contributor

Yes, that prompt is there. I just wasn't sure about it because it wasn't ServiceNow specific and when I ran it through Copilot, it didn't give the code you provided/didn't give ServiceNow specific code. But when put through Now Assist code generation, it does produce the right output.

Would it be ok if I updated the file you submitted a little and labeled the prompt with the word "prompt" and the code with the label "Example output"?

@bkb68
Copy link
Copy Markdown
Contributor Author

bkb68 commented Oct 2, 2024 via email

@niamccash niamccash merged commit dda4745 into ServiceNowDevProgram:main Oct 2, 2024
@niamccash
Copy link
Copy Markdown
Contributor

Thanks! And thank you for the contribution!

@earlduque
Copy link
Copy Markdown
Contributor

Hello! This comment is to inform you that unfortunately, this repository, on October 3, was excluded from participation in the official Hacktoberfest event. As I investigate into why it was excluded, I would like to encourage you to participate in our other Hacktoberfest projects so that you still get completion progress for the official Hacktoberfest event.

We will count this contribution for progress made for ServiceNow rewards (make sure to check out the other eligibility requirements in the blog post), but if you want the rewards from the official event, you will need to make sure you have at least 4 Pull Requests merged into other projects by the end of October. We apologize for the inconvenience and appreciate your participation regardless!

Earl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants