Get data from APIrequest gives null values

Get data from APIrequest gives null values

Hello, 

We are facing problem with geting values from CRMAPIrequest.

The function was executed when a contract was signed by zoho sign, the data was sent by zoho CRM API rest, and then function was getting recipient email to match the deal and then fill deal sign date.

But today when I wanted to change this function a litlle bit to the function stop working. 
When I try to get recipient email info info function gives me null body values.
I really don't know what happend, I tried already to reset and update the API URL, but still it doesn't work.

The code:
  1. Email = crmAPIRequest.get("recipient_email");
  2. searchParam = "(Deal_Email:equals:" + Email + ")";
  3. deal = zoho.crm.searchRecords("Deals",searchParam);
  4. deal = deal.get(0);
  5. id = deal.get("id");
  6. date = zoho.currentdate;
  7. mp = Map();
  8. mp.put("Data_podpisania",date);
  9. resp = zoho.crm.updateRecord("Deals",id,mp);
  10. workdriveid = deal.get("Projekty_folder_ID");
  11. return "";

Code that gives me null values:



Does any one have any solution?


      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          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 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 コンテンツ




                                ご検討中の方