Get custom fields - Creating FSM Work Order from Ticket in Desk

Get custom fields - Creating FSM Work Order from Ticket in Desk

I have created a custom function to create a Work Order in FSM from a Ticket in Desk.
I would like to have some other specific information to come across from the Ticket and populate in the work order.
  1. Ticket ID (from Desk) to replace the Work Order Name (in FSM) when Work Order is created from custom function
    OR
  2. Ticket ID (from Desk) to populate a Single Line Field with label "Service Case No" (in FSM work order), if the above is not possible.

  3. Custom Multi-Line Field with label "Field Agent Instruction" (in Desk) to populate custom Multi Line Field with label "Notes" (in FSM Work Order).
Can you please assist by providing the necessary script to make this happen?
I have attached a copy of the script I am using.

    Access your files securely from anywhere

        Zoho Developer Community




                                  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 Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • 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