Values from multi row variable set not populating in knowledge article

Amol Pawar
Tera Guru

Hi All,

I have a requirement where I need to create a Knowledge article when a form is submitted from a record producer on the portal. I have used a Multi-Row variable set in that record producer so that users can add multiple rows and information as per their need. I want to populate those rows filled by a user in a Knowledge article. I have created a flow which will create a knowledge article once it is approved. To populate record producer values in the knowledge article, I have written an after update Business rule:

 
(function executeRule(current, previous /*null when async*/ ) {
  var body = '';
if ( current.getDisplayValue('sections')){
        body += '<p><b> Sections: ' + '</b>' + current.getDisplayValue('sections') + '</p>';
    }
    if (current.getDisplayValue('section_name_new')){
        body += '<p> ' + current.getDisplayValue('section_name_new') + '</p>';
    }
    if (current.getDisplayValue('information_section_name_new')){
        body += '<p>' + current.getDisplayValue('information_section_name_new') + '</p>';
    }
    current.article_description = body;
    current.update();
})(current, previous);
 
sections - multi-row variable set name
Please help me to populate values filled in multi row variable set in the knowledge article since I'm unable to do this by above business rule as well.
 
Thanks in advance,
Amol
 
6 REPLIES 6

Amit Gujarathi
Giga Sage
Giga Sage

Hi @Amol Pawar ,
I trust you are doing great.
You can refer below video to understand how Multi Row variable works:


Was this answer helpful?


Please consider marking it correct or helpful.


Your feedback helps us improve!


Thank you!


Regards,


Amit Gujrathi



Amol Pawar
Tera Guru

Hi @Tai Vu,

Thank you so much for your reply. It was very helpful for me. As I already posted above, It is working fine now with the help of the Business rule. Your suggestions and insights really helped me.

Thank you.

Hi @Amit Gujarathi,

Thank you for your time and such a informative and helpful video.

 

Thank you,

Amol