Workflows not trigger when created by a function..

Workflows not trigger when created by a function..

I can't figure out how to get my workflows that are set to be triggered on record creation to trigger when record is created using a function.  The function creates a record in a custom module when deal is set to won, it works just fine.  The workflows in the custom module do not trigger even though they are set to trigger on record creation.  The workflows trigger just fine if I create a record manually.

Below is a the code.

//Create map of fields to pull. 
mp = Map();
mp.put("Name",deal_name);
mp.put("Contact",contact_id);
mp.put("Account",account_id);
mp.put("Email",email);
//Create new record 
response = zoho.crm.createRecord("Custom",mp);
info mp;
info response;


      • Sticky Posts

      • How to Add Users to your Organization in ZohoMail?

        A better clarity so you can create other users to start using Zoho Mail. You can directly Add Users from the Control Panel to your Organization. You can invite users with the existing email address. If the person (user) already uses ZohoCRM, then you can import users from Zoho CRM. You can also import them using a .csv file. (if you are planning to add them in Bulk)  In this topic, We will be discussing on how to Add and Invite users only.  The Import options are self explanatory. ____________________________________________________________________________________________________________