How to Update Parent RITM MRVS Values

GlideC
Kilo Explorer

Hi, I have a requirement where a Catalog Item creates a parent RITM along with child RITMs.

The parent RITM contains an MRVS -Multi-Row Variable Set
sFrom the child RITM flow, I need to update the parent RITM’s MRVS by adding a new row with valuez inserting a new record into the multi-row variable set)

Can anyone help me with this Logic.


Thanks in advance.

1 REPLY 1

Priyanka64
Tera Contributor

Hello @GlideC ,

 

This is possible, but MRVS values are stored as JSON, so from the child RITM flow/script you need to:

  • Fetch the parent RITM
  • Read the existing MRVS JSON
  • Parse it
  • Push a new row object
  • Convert back to JSON
  • Update the parent RITM

If using Flow Designer -

Use:
Look Up Record - Parent RITM
Script Step - Modify MRVS JSON
Update Record

 

 

If this helps, kindly mark the answer as helpful/correct.

 

Thanks,

Priyanka