Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,424
Community Members
 
Community Events
185
Community Groups

How do you copy and flatten a smart multi-row field into a new form?

Hi I am running into an issue where I am trying to flatten a smart multi-row field into another form field using an IFTTT macro. 

Within the ifttt macro I am choosing to flatten fields however, when I trigger the event only the last entry of my smart multi row is being copied over. 

I am currently using the following syntax:

smartField=[entry.multiRow.transform(fieldToPass).asList]

 

Say the [fiedToPass] is a field within the [multiRow] Multi-Row, [fieldToPass] has 4 entries but only the last entry gets printed.

I was expecting 4 new records to be created when the IFTTT macro was triggered,  but at the moment only 1 new record gets copied over. 

The newly copied record is the last entry of [fieldToPass]

Is there something I am missing or not understanding correctly?

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.
May 12, 2023 • edited

Hi @Benjamin Rios 

I would approach something like this a bit differently

As smart field values are nothing else but the links to other records then it makes sense to work on the "source form"

Basically I would use this IFTTT type https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-CopyConfiFormsData

And copy data that is filtered by "multi-row values" from the source form to the form where I need them

Nothing to flatten...

So, the filter to apply on dataset before copying would be something like this

id:[entry.mymultirow.transform(id).join( OR id:)]

Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events