Regarding REST Script

Madhusagar Pal1
Tera Expert

Hi All,

Query is: Third party team will parent (cmdb_ci_service_business) and coe fields in json file for service offering table.

COE is dependent filed on the PLME.

Form json request fetching parent field, then querying using gliderecord on cmdb_ci_service_business table and comparing the parent with sys_id of cmdb_ci_service_business if matches fetching portfolio again querying using gliderecord on service_portfolio table and comparing if match fetching PLME from service_portfolio and assign the plme back to the request. 

Please find below screen shot.

MadhusagarPal1_0-1690972175378.png

However the script is executing but PLME value not copy to the request ci object.

Please help me where I did wrong or let me know best way to solve this.

 

Thanks.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Madhusagar Pal1 

So what debugging have you done so far?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks for your response. Anyway, I have fixed this issue.