How to get all the data in Smart Multi-Row

Srisaiyeegharan Kidnapillai
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 12, 2023

I have a ConfiForm where I have defined a Smart multi-row field "users" which contains 3 text fields "name", "email" and "city".

I'm using ConfiForms IFTTT Integration Rules | event = onCreated | action = Create Jira Issue to create a Jira ticket with the information captured in 'users' smart multi-row. 

My understanding is that the body in the IFTTT integration rule supports Velocity Template Language. I'm trying to use VLT to get all the data in the Users field (Which could be 1,2,3..n) depending on how many rows get added by the person submitting the form. 


I have the following VLT.
#set($count = "")
#foreach($row in $users)
#set($name = $row.name)
#set($email = $row.email)
#set($city = $row.city)
#set($count = $velocityCount)
#end

I'm trying to get the values and concatenate them however I'm not even able to read the values in name, email and city. I do see that the count value gets updated to 1,2,3..n depending on the number of rows/users the submitter is adding to the form. 

How do I go about reading the values in the smart multi-row? I have tried [entry.users.name] but this reads the value for me but restricted only to the very first User.

1 answer

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2023

Hi @Srisaiyeegharan Kidnapillai and welcome to this community

Smart multi-row, as well as other smart fields holds only references to records it is linked to

There is no rich object behind it - just an UUID (or multiple, in case of multi-select fields) to a record in another form

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events