Help

Automation Script doesnt run in live environment

Topic Labels: Automations
766 1
cancel
Showing results for 
Search instead for 
Did you mean: 
PhreakyFLOYD
4 - Data Explorer
4 - Data Explorer
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 1

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.