Button no longer Triggering Workflow
I have a button I created to check a box. The button function is simple:
- zoho.crm.updateRecord("Deals",id.toLong(),{"Send_Email_IA":true},{"trigger":"workflow"});
- zoho.crm.updateRecord("Deals",id.toLong(),{"Send_Email_IA":false},{"trigger":"workflow"});
- updateRec = zoho.crm.updateRecord("Deals",id.toLong(),{"trigger":{"workflow"}});
- return "Sent";
I then have a workflow shown below:
This "used" to send an email when the button was pressed. However, the button is no longer triggering the workflow. What am I missing? In my timeline I can see that the button is in fact changing the field from "false" to "true" and back. Also, if I go manually uncheck the box it triggers the workflow. I'm at a loss...please help.