APIのバージョン更新でのDelugeスクリプト

APIのバージョン更新でのDelugeスクリプト

年末に控えているバージョン更新前に少しずつワークフローのDelugeを更新しておきたいのですが、
どこを変更すればいいのかがいまいち解ってません。

取引先の住所変更があった時に、連絡先にも自動同期されるように組んであるのですがDelugeがお分かりの方、お力添えいただけませんでしょうか?

現在のコード
accountId = accId.toString();
rec = zoho.crm.v1.getRecordById("Accounts",accId);
resp = zoho.crm.v1.getRelatedRecords("Contacts","Accounts",accountId);
for each  ele in resp
{
mp = Map:String();
mp.put("Mailing Street",rec.get("Billing Street"));
mp.put("Mailing City",rec.get("Billing City"));
mp.put("Mailing State",rec.get("Billing State"));
mp.put("Mailing Zip",rec.get("Billing Code"));
mp.put("Mailing Country",rec.get("Billing Country"));
mp.put("Other Street",rec.get("Shipping Street"));
mp.put("Other City",rec.get("Shipping City"));
mp.put("Other State",rec.get("Shipping State"));
mp.put("Other Zip",rec.get("Shipping Code"));
mp.put("Other Country",rec.get("Shipping Country"));
contactId = ele.get("CONTACTID");
updateResp = zoho.crm.v1.updateRecord("Contacts",contactId,mp);
}

よろしくお願いします。
    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 コンテンツ




                              ご検討中の方