-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Change task #103
Comments
Hello I tried and changed the config can you please check, it is working for me change table name to 'change_task' |
Hello Team, I am new to github as well as to programming, Do we have any template to create the change task in service now? |
What about just Get-ServiceNowChangeTask ? I don't see any method to get information about CTASK items. Change requests are prefixed with CHG for the number. Change tasks are prefixed CTASK for the number. |
So I believe I figured out some bit of RestAPI with a proof of concept to "Get-ServiceNowChangeTask" (change XXX to your environment): #CTASK number #Set variable for credentials #Specify endpoint uri for ServiceNow #Specify http method #Send http request #Print Response |
Get-ServiceNowRecord can be used to get table info on any table if there isn't a specific function to do so. For example, |
I'd like to get away from having a different |
Thank you @gdbarron - I have converted my scripts to use this new logic Get-ServiceNowRecord -Table instead. |
This should be marked as closed or resolved. |
To be fair to @MorningsWait and @Chandresh88, the original intent of this issue was to 'create' a change task, not 'get'. I should have suggested we create a new one for 'get', but failed to do so. I'll keep this open until the 'create' aspect is complete. |
@Chandresh88 - I just used the following to create a CTASK and it worked fine. Yes, I could have put the values within the $Params, but for legibility with long values - this is preferred.
|
I believe this still needs to be worked on as well as we can do all 3 tasks get/modify/Delete |
@MorningsWait, do you have a suggestion as to which change task fields are most used so we can include them in a |
@MorningsWait following up... |
I am sorry for responding late, Short Description, Description, Parent CHG, Assignment Group & Assigned To the |
Thanks team on working on my last request (Create change request), I must be more demanding, if possible can you please create same for change tasks as well
The text was updated successfully, but these errors were encountered: