We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Update sc task item variables using REST API

RakshithS
Tera Contributor

Hi,

Can any one  assist me to  update SC Task items variables using REST API?

I tried it using the Postman, on the sc_req_item table with this body:

========

{
"description": "RITM000111",
"variables.risk_assessment": "Yes",
"variables.risk_change1": "Yes",
"variables.additionnal_comments" : "testing",
"variables.source" : "test"
}

=======

i was able to update a field, but not the variables. How to update variables?

thank you!

0 REPLIES 0