Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7399 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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~

Posted

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.

This topic is 7399 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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