servicenow-powershell icon indicating copy to clipboard operation
servicenow-powershell copied to clipboard

Is there a way to find/edit "Test Items" within ServiceNow?

Open wwwb0n3zcom opened this issue 3 years ago • 2 comments

Is there a way to find/edit "Test Items" within ServiceNow?

Thank you,

-b0n3z

image

wwwb0n3zcom avatar Jul 11 '22 17:07 wwwb0n3zcom

I'm not familiar with Test Items specifically, but if you right click on the item, select 'Copy URL to Clipboard' and then inspect it, that might give you a clue as to where the data lives.

It's most likely of the format https://instance.service-now.com/nav_to.do?uri=<table>.do?sys_id=<sys_id>. If so, you can then use Get-ServiceNowRecord -Table <table> to query the table or Get-ServiceNowRecord -Table <table> -ID <sys_id> to get the specific item.

To edit, you would use Update-ServiceNowRecord -Table <table> -ID <sys_id> -Values @{'field'='updated_value'}.

gdbarron avatar Jul 12 '22 12:07 gdbarron

@wwwb0n3zcom, did the above help?

gdbarron avatar Aug 11 '22 03:08 gdbarron