Trigger Workflow, Approval Process, Blueprint by Deluge in Zoho CRM
#Tips & Trick
If you intend to activate your Workflow, Approval Process, or Blueprint through either the deluge script or Zoho CRM API during the creation, updating, or deletion of a record
Try this Script
- mp = Map();
- trigger = List();
- // Workflow
- trigger.add("workflow");
- // Approval Process
- trigger.add("approval");
- // Blueprint
- trigger.add("blueprint");
- OptionalMap = Map();
- OptionalMap.put("trigger",trigger);
- Resvp = zoho.crm.createRecord("Deals",mp ,OptionalMap);
or
- resvp = zoho.crm.createRecord("Deals",dealMap,{"trigger":["workflow","blueprint","approval"]});
----------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards
Piyush Goyal
Zoho Developer || 3+ years Experience
+91-8619164837