Update state for a request #227
Answered
by
mark3grahams
mark3grahams
asked this question in
Q&A
-
I thought it be something like this but it does not seem to work as the state stays Open.
|
Beta Was this translation helpful? Give feedback.
Answered by
mark3grahams
Jan 6, 2023
Replies: 1 comment
-
i found it, I believe.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gdbarron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i found it, I believe.
get-serviceNowRecord -Table 'sc_req_item' -ID 44a6f7041b9421903d5398221a4bcb62 | update-ServiceNowRecord -Values @{state = '2'} -PassThru | select sys_id,short_description,state | fl