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

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

Recommended Posts

Posted

Any tips out there on aborting script triggers? I have OnLayoutLoad triggers for sorting and window management, but I don't want to run them when a script calls a new window (with with a GTRR or a New Window).

I've tried passing Get(ScriptName) as a parameter, to check if a script is running, but I have to hard code the names of all the scripts I want to abort. I don't want to abort all the scripts that trigger OnLayoutLoad, just some. So that's cunky at the least.

Thoughts?

Posted

Script Z: (Your triggered script)

If ($$doNotEvaluateTrigger)

Exit Script

End if

Do whatever you want on your script trigger.

Script A:

Set Variable $$doNotEvaluateTrigger = 1

Go To Related Record in New Window

Set Variable $$doNotEvaluateTrigger = 0

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