Catalog Item, for Record Procedure with Multi-Row Variable Set

gsuprumanian
Tera Contributor

we have a requirement to automate a catalog item form (record procedure) that have Multi-Row Variable Set.
As for now the SN document , only guide on how to retrieve variable 
Service Catalog API | ServiceNow Developers.

Looking for some reference on how to submit record procedure through API, the one with MRVS.

6 REPLIES 6

steverogers
Tera Contributor
Kw
 
ChatGPT said:

To submit a Record Producer with a Multi-Row Variable Set (MRVS) via ServiceNow API, use:

  1. Find sys_id of the Record Producer from /api/now/table/sc_cat_item.
  2. Submit with MRVS in /api/sn_sc/servicecatalog/items/{sys_id}/submit_producer:
json
CopyEdit
{ "variables": { "single_variable": "value", "multi_row_variable_set": [ { "field_1": "value1", "field_2": "value2" }, { "field_1": "value3", "field_2": "value4" } ] } }
  1. Send POST request via Postman or curl. Ensure correct variable names.

While working on automation, you can watch free movies online on FreeCine to take a break.

I am using SN API Explorer to test this suggestion, but I am getting error.  Service Catalog API | ServiceNow Developers