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 Marketing Automation


                                        Manage your brands on social media



                                              Zoho TeamInbox Resources

                                                Zoho DataPrep Resources



                                                  Zoho CRM Plus Resources

                                                    Zoho Books Resources


                                                      Zoho Subscriptions Resources

                                                        Zoho Projects Resources


                                                          Zoho Sprints Resources


                                                            Qntrl 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

                                                                    





                                                                    




                                                                        Design. Discuss. Deliver.

                                                                        Create visually engaging stories with Zoho Show.

                                                                        Get Started Now