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

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

Recommended Posts

Posted

Sometimes a 'find' within a series of linked scripts will not find any records, and the dialogue to that effect pops up. In that event I want the current script to cancel and go on to perform the next script - the one linked by the 'perform script' as the last step in the current script. Is there a way to make this so?

Posted

GlennC

In your script, put the Set Error Capture step before you perform the find. After the find step, put an if loop something like this

If[status(CurrentError) = 401]

Perform Script [NextScript]

End If

HTH, Mike

Posted

It's easier to use the following, rather than trying to remember what the appropriate error code # is. Instead, use:

Status(CurrentFoundCount) = 0

Steve

This topic is 7852 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.