RITM Variables such a Number, date along with MRV line items written to a Custom Table

Peter Williams
Kilo Sage

Good Morning everyone,

i have an unusual problem, i need a way  when users submit a request (RITM) to have those variable vaules along with the MRV variable values to be written to a custom table in servicenow.

 

Ex.

User submits an RITM

 

Form variables: 

Number

Name

Date

Office

 

Form MRV Values:

Invoice #

Type

Amount

Details

 

how it should look in the custom table

The RITM variables will be the same but as each MRV value is entered for the RITM it will change

 

NumberNameDateOfficeInvoice#TypeAmountDetails
RITM0001121Peter13-May-24Toronto12345-32Airfare123.02to the office
RITM0001121Peter13-May-24Toronto6587-AVTaxi25.25From the airport
RITM0001121Peter13-May-24Torontotry-432Meal78.41Dinner
6 REPLIES 6

Hi @Peter Williams ,

Did you create the fields with the same field type as in the MRVS?

For e.g.: If its a string field , your custom filed type should also be string

 

As in the flow execution image, what it indicates is there are no rows in the MRVS.Did you checked whether there are data in the MRVS for the selected RITM?

 

Try changing the Trigger type as Service catalog and check whether it works

Hi @Peter Williams ,

 

We cant able to drag and drop the RITM record from the Request record and also we cant able to get the RITM variables too.

While using the Get catalog variables, you have to drag and drop the RITM record , so that you will be getting the value of MRVS from the Triggered RITM record

Modify the flow as below:

Trigger: Service catalog

Get catalog variables: Drag and drop the Triggered RITM record

 

FYR:

Vengadesh_0-1715618957765.png