Regarding REST Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 03:46 AM
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2023 04:57 AM
So what debugging have you done so far?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2023 07:43 AM
Thanks for your response. Anyway, I have fixed this issue.