2
1
0
2 answers
- 10-1
Hi Andrew
The question has been partially responded on
Retrieve a list of variable for a RITM
Buried down in the comments, you find a reference to 'updateVariables.groovy' which contains an example how to update the variables. Check the corresponding snippet
https://stash.idalko.com/snippets/b91ded48c3cd48af8b162b0489e6c782
Let me knowAdd your comment... - 10-1
Hello Andrew,
Can you please elaborate more on the expected result?
Please refer to this support article to know more about the field sync for ServiceNow: https://docs.idalko.com/exalate/x/IAAhAg
Hope this helps
- Francis Martens (Exalate)
Mariia Horbatiuk
The request variables are a more advanced use case. Check the other question (here). We should add support for it in the product.
Add your comment...
Hello,
I am getting below payload from Jira: request item with catalog tasks variables
"key": "ITC-288",
"summary": "IMAC-Install Client: [NHH43040 (CP-243627)]",
"created": 1612437589111,
"IBM Technician": {
"id": 11415,
"name": "IBM Technician",
"type": "OPTION",
"value": {
"id": "12251",
"sequence": 1,
"value": "no",
"disabled": false,
"childOptions": []
}
},
"Room": {
"id": 11444,
"name": "Room",
"description": "",
"type": "STRING"
},
key, summary, created are request fields, while Room and IBM Technician are variables.
Variables are not like normal fields. The table that is used is sc_item_option_mtom, which just links sc_req_item and sc_item_option.
Could anyone help me how my incoming script in SN should look like to save fields and variables ?