How to automate a Lookup field using deluge?

How to automate a Lookup field using deluge?

I have a Multi-Select Lookup field that I need to auto-populate when a 'NETO' text field is populated.

Or, maybe make the Lookup field look up for the records based on the 'NETO' text field.

I tried creating a script to copy the 'NETO' text field to the Lookup field, but it does not work.

dealInfo = zoho.crm.getRecordById("Deals",dealId);
netoSOnum = ifnull(dealInfo.get("NETO"),"");
mp = Map();
mp.put("Lookup_field",netoSOnum);
upd = zoho.crm.updateRecord("Deals",dealId,mp,{"trigger":{"workflow"}});
info upd;

Need help please. Thank you!

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




                              ご検討中の方