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.

Subscript not running when parent script invoked via PHP

Featured Replies

  • Newbies

Hi,

Ok basically I have a script NewQueueRecord which creates a new record in the JobMonitor table. I can run this script directly from PHP with no problems. However when I try to run RGA_Issued_4 which contains Perform Script NewQueueRecord, no row is created in the JobMonitor table. Both of these scripts run as expected within FM.

So, does anyone know of a limitation when executing a FM script from within PHP that would cause a call to a subscript to fail?

Let me know any other information that would be useful, I find that I usually miss something when trying to explain a problem *winks*

Open up the RGA_Issued_4 script for editing. Check the box labeled "Indicate web compatibility" in the lower left hand corner. If any of the script steps are grayed out they will generate fatal error and the script will abort the script.

This has certainly bitten me in the rear a few times.

  • Author
  • Newbies

Ok, checked that... there are script steps that are greyed out. Will they halt the execution the script if that particular step isn't executed, or are they skipped?

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.