Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

List ( ) function question

Featured Replies

Hi all,

I'm seeing what I consider unexpected behavior from the List ( ) function in a script step (Set Field) and I was wondering if I'm missing something. Here's the scenario:

I'm trying to create a list of values concatenated from 2 different fields from 2 different related TOs. The formula is List (TableA::field1 ; TableB::field2 ). I've verified that the layout I'm on at the time of the script step is based on a valid TO with correct relationships to the related TOs.

On Mac, and some Windows machines it resolves exactly as I want:

field1Value1

field1Value2

field1Value3

field2Value1

field2Value2

field2Value3

But on my client's Windows machines it will not resolve correctly whenever more than one related field is included in the calculation. I can swap out all the files on my client's machine (ruling out file corruption) and it still won't resolve as I would expect, as shown above.

Has anyone else seen this behavior? Can you not reference fields from different TOs at the same time in the List ( ) function? I'm stumped and I'm trying to avoid a workaround until I know for sure that I understand whether I'm using the function correctly.

Thanks in advance!

-Kent

I am VERY MUCH surprised to hear it works the way you expect on some machines - because it shouldn't.

List ( TableA::field1 ; TableB::field2 )

should return no more than two values - the value of field1 from the first related record in TableA, and the value of field2 from the first related record in TableB.

If you're seeing anything else, it's a bug that should be reported.

To get a concatenated list of all related values from both tables, you should be using:

List ( List ( TableA::field1 ) ; List ( TableB::field2 ) )

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.