Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

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.

Executing a disabled IF

Featured Replies

Posted

Lets say I have a program that monitors the status of a lamp module, AND has a From-To timeframe but I only want it to run and evaluate the IF when called by another program and not any old time that the IF conditions are true.

 

Can I simply disable the program and run(if) from another program to exec when needed or do I need to enable it and bury it in a folder with a permanently false condition on the folder ?

 

Does calling a disabled program ie: Run(if) override the disabled flag ?

 

I hope that made sense.

 

Thanks in advance.

 

-X

Hi Xathros,

 

Your question makes perfect sense, and you are correct; you simply disable the program you and use Run (If). We've been considering renaming "Is enabled" to "Automatically triggered" to more accurately describe what that flag does.

 

Lets say I have a program that monitors the status of a lamp module, AND has a From-To timeframe but I only want it to run and evaluate the IF when called by another program and not any old time that the IF conditions are true.

 

Can I simply disable the program and run(if) from another program to exec when needed or do I need to enable it and bury it in a folder with a permanently false condition on the folder ?

 

Does calling a disabled program ie: Run(if) override the disabled flag ?

 

I hope that made sense.

 

Thanks in advance.

 

-X

  • Author

Excellent. This is what I was hoping for. I assume the folder method would also work but for this task I like the disabled program idea better.

 

Thanks.

 

-X

Guest
This topic is now closed to further replies.

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.