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.

Event Trigger - triggers too often

Featured Replies

I'm having trouble -- the auto-enter calc with Event Trigger triggers the script too often. I want the script to trigger only when I change a field (and not when I'm running other scripts that don't touch that field). I tried the validation method, but that doesn't work -- it doesn't perform the script until I exit the record, and by then I'm in a new record, and it will perform the end of the script on the new record. What can be done? (I already have a condition in the calc that it won't be executed when a record is new and a field is blank...but this doesn't solve my main problem.)

I solved a similar problem by testing for the current layout with an if statement. Could this be your answer?

John

Which Event Plugin are you using? Why dont you post your calculation as well.

I had a similar problem...drove me crazy. It may be on the wrong tab. Move the calc and trigger to the calc on the validation tab from the auto enter tab.

Steve

  • Author

I can't use the validation tab for the reasons I explained above -- the validation in 8 does not take place until the record is committed.

Here's my calc:

If(callername ≠ ""; Status & S4HU_EventScript( Get ( FileName ) ; "Set Status" ; Callsheet); "")

Where callername is a field that is filled in after record creation (and before the script should be activated) and Status is the field that when changed should activate the script "Set Status." As you can see, I'm using the S4HU Event Script plug-in.

  • 8 months later...

callername ≠ ""

A better syntax for this is

not Isempty( callername )

  • 1 month later...

Put

If ( IsEmpty ( Get ( ScriptName ) ) ; ... )

around your calculation, and it will only trigger when no script is running.

Create an account or sign in to comment

Important Information

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

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.