Zoho Projects as part of Zoho CRM Plus - function to create new project when Deal status changes
Hi there,
This is my first post on this forum so bear with me :-).
I have created a Function to create a new project in Zoho Projects that I will associate to workflow automation to trigger this function when a deal stage changes. Being new to Deluge I am struggling to get the Group of the new project assigned. Below is the code of the function which is largely based on an article I found.
I can't figure out how the Group Name is stored in the database (format).
Any help on this will be much appreciated.
- createMap = Map();
- createMap.put("name",ProjName);
- createMap.put("description",Description);
- createMap.put("template_id",TemplateID);
- //createMap.put("group_id",GroupID);
- //custom fields
- //end of custom fields
- response = zoho.projects.createProject(PortalName,createMap,"rwrelateproject");
- info response;
- mp = Map();
- mp.put("name",ProjName);
- datalist = List();
- datalist.add(mp);
- datamp = Map();
- datamp.put("data",datalist);
- resp2 = invokeurl
- [
- url :"https://www.zohoapis.com/crm/v2/Deals/" + id + "/Zoho_Projects/" + response.getJSON("projects").getJSON("id")
- type :POST
- parameters:datamp.toString()
- connection:"rwrelateproject"
- ];
- info resp2;
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Building extensions #10: Fetch customized user inputs, store them globally at the app level, and access them across entities
This data storage concept enables you to store data related to your extension for both entity properties and extension properties. In our previous piece, we looked at how to store data for entities using entity properties. In this post, we'll look at
Building extensions #9: Store, retrieve, and access entity-specific data in widgets using data storage
Data storage - Overview Storing data related to the extension you are working on is essential. It can be saved as key-value pairs for an entity or extension, known as entity and extension properties, respectively. Data can be saved for the following entities
Building extensions #7: Create custom widgets for a simplified end-user experience
Discover the benefits of using widgets! We explored the significance of widgets, prerequisites, and the availability of JS SDK methods as part of our previous post. In this post, let's go over a detailed example of using widgets along with certain Zoho
Building extensions #6: Custom user interfaces with Widgets
Welcome to our post on Widgets for Zoho Projects! In our last post, we explored the significance of the connections feature, showed how to use it, and provided an example use case. In this article, we'll look at the importance of widgets, another feature
Building extensions #5: Integrating applications with Zoho Projects through Connections
In our last post, we discussed the essential features that a Zoho Projects extension can provide. Starting with this post andin every subsequent post going forward, we'll go through each of those features in depth, one by one, with an example use case.
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.