Zoho Project Task Field

Zoho Project Task Field

I'm trying to obtain a list of all Tasks that have been completed today within a certain project.

I'm first using the getProjectDetails method to return the details of a specific project named "Ganar LLC".
Then I use the following getRecords method to return the tasks from that project.
All works well. Then I attempt to retrieve the completed time from each task by using the following for each/get method:


  1. projectData = zoho.projects.getProjectDetails("mazumaprojects","active");
  2. //info projectData;
  3. for each  rec in projectData
  4. {
  5. rec1 = rec.toMap();
  6. if(rec1.get("name") = "Ganar LLC")
  7. {
  8. projectID = rec1.get("id");
  9. info projectID;
  10. }
  11. }

  12. response = zoho.projects.getRecords("mazumaprojects",projectID,"tasks");
  13. mappedTasks = response.toMap();
  14. info mappedTasks;

  15. for each rec in mappedTasks
  16. {
  17. info rec.get("completed_time");
  18. }

However, the result is an error saying:
Failed to execute function
  • 'TEXT' can not be cast to '[BIGINT]' for the function 'get' Line Number:21
Can you please help me know how to retrieve and evaluate specific fields of a task? I suspect the "get()" method may not work here?




    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      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

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方