Not able to map values to a glide_var type input field using REST api.

vivekpati
Kilo Explorer

I am trying to create ATF tests using the REST api. I am able to create the test and test steps. 

But in steps we have input fields that are of glide_var type and are different for different step config and i am not able to map this fields. 

In need the table where the data is stored for input type ( glide_var) & we can insert data to those table. 

Please advise. 

1 REPLY 1

The SN Nerd
Giga Sage
Giga Sage

I may be too late here, but perhaps useful for others...
It is stored in sys_element_mapping table.

I have not been able to find the correct API for setting these variables without needing to do this.

I've also found when updating existing variables, you have to update the Input field, then save, then the element mapping, otherwise it reverts back to the old value.


ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022