Adding Account tags to associated Project

Adding Account tags to associated Project


I am trying to edit a function that I created to also pass along the account Tag to its associated project. 

The function I created below is used to create and associate a project to its account (I created a workflow to kickoff this function once the field "order number" contains a value):

//acctId = acctId.ToLong();
id = "raiment";
mp = Map();
mp.put("name",businessName + ": " + orderNumber);
created = zoho.projects.createProject(id,mp,"projects");
info created;
projectid = created.get("projects");
for each  rec in projectid
projid = rec.get("id");
projname = rec.get("name");
mp = Map();
contdet = Map();
datalist = List();
datamp = Map();
resp = invokeurl
url :"" + acctId + "/Zoho_Projects/" + projid
type :POST
info resp;

Along with the account name/order number I'd like to pass the Tags that are on the accounts to also appear on the Project.

            Zoho Marketing Automation
                    • Sticky Posts

                    • Function #41: Sync Associated Subforms!

                      Welcome back everyone! The last custom function showed how to update a Contact with Product details from it's Related list in Deals. This week, let's look at a function that lets you update subform records in two modules simultaneously when one of them is updated. Business scenario Let's look at how subform helps in an education institution that has deployed Zoho CRM. National Public School, Austin (made up, of course!) has set up Zoho CRM and it follows the same relationship pattern of "Students",

                    Zoho Pagesense Resources

                      Zoho SalesIQ Resources

                            Zoho TeamInbox Resources

                              Zoho DataPrep Resources

                                Zoho CRM Plus Resources

                                  Zoho Books Resources

                                    Zoho Subscriptions Resources

                                      Zoho Desk Resources

                                        Zoho Projects Resources

                                          Zoho Sprints Resources

                                            Qntrl Resources

                                              Zoho Creator Resources

                                                Zoho WorkDrive Resources

                                                    Zoho Campaigns Resources

                                                      Zoho CRM Resources

                                                            Design. Discuss. Deliver.

                                                            Create visually engaging stories with Zoho Show.

                                                            Get Started Now