Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Set MRVS to custom table

MakotoHorioka
Tera Guru

Hi, there.

I want to set MRVS values in a custom table using Flow Designer.

I want to make each row a 1:1 field and increase the number of fields by the number of values.

I'm thinking of a Name-Value Pairs field type, but I would like to know if there is a better field type or a way to set the MRVS value from the flow designer to this type.

 

MakotoHorioka_0-1690797512962.png

MakotoHorioka_1-1690797567517.png

 

MakotoHorioka_2-1690797982961.png

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @MakotoHorioka ,

Please follow the steps mentioned :https://www.servicenow.com/community/workflow-automation-articles/how-to-use-multirow-variable-sets-...

Also, 

mrvs is retrieved as an Array.Object that may be looped with "For Each Item" step.

Example. "developer_ml" is a mrvs.

SandeepDutta_0-1690798886391.png

 

Looping through records in mrvs

SandeepDutta_1-1690798886461.png

 

Logging out of a record

SandeepDutta_2-1690798886396.png

 

 

 

View solution in original post

1 REPLY 1

Community Alums
Not applicable

Hi @MakotoHorioka ,

Please follow the steps mentioned :https://www.servicenow.com/community/workflow-automation-articles/how-to-use-multirow-variable-sets-...

Also, 

mrvs is retrieved as an Array.Object that may be looped with "For Each Item" step.

Example. "developer_ml" is a mrvs.

SandeepDutta_0-1690798886391.png

 

Looping through records in mrvs

SandeepDutta_1-1690798886461.png

 

Logging out of a record

SandeepDutta_2-1690798886396.png