Jump 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.

problem with looping within a portal

Featured Replies

there is a problem when one tries to loop within a portal. the problem is with the end-of-loop detection.

Example script:

Go to Portal Row [select; Perform without dialog; First]

Loop

.....

.....

..... (your operations here)

Go to Portal Row [select; Perform without dialog; Next; Exit after last]

End Loop

The above script enters an infinite loop and creates infinite new portal records in the portal.

Is there a fix for this? or am I just scripting something wrong here? I tried taking out Select, but it doesn't do it.

It doesn't seem to detect the end-of-portal-records in portal.... :-(

and this script is very important for me...

thanks if you can help~

This is typical if the relationship is allowing creation of related records.

Solutions: Use a second table occurance for non-creation operations, use a counter to know if you've hit the last portal row, check if the current portal row's auto entered ID is empty, or work the loop from the last portal row to the first, exiting after last.

Another one: jump to the related records and process them from there.

  • Author

great tips!!~ thank you! :-)

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.