Skip to main content

Automation Script doesnt run in live environment

  • June 30, 2023
  • 1 reply
  • 0 views

PhreakyFLOYD
Forum|alt.badge.img+2
Hi _ I am using automations to turn on an IOT device. When I enter the javascript in the automation and test it. It works. When I actually add a record and have it trigger the automation, it runs (or says it does) but the webhook doesnt seem to run (the light doesnt go on/off) like it does in the Test Environment.
 
Any Ideas?

1 reply

Alexey_Gusev
Forum|alt.badge.img+23

Hi,
it might depend on your trigger. For example, if your trigger is "When record created" and you add record by hand, automation will run on empty record before you fill any data. In that case workaround will be - to change it to "When record matches condition". Condition should be "non empty" for fields you interested. You could also add next field, or end with some non-typed field (like single select or check box)
For example, if you set 'First Name not empty" and "Last Name not empty", and input "John", "Doe", Automation will run at "John", "D".
Check "Run history" and "Field Values" for last run to be sure.
 


Reply