No Output from Custom Function

No Output from Custom Function

Hi Guys,

This is my first ever attempt to write in deluge so please go easy.

I needed to create a custom function in Zoho Flow - to turn a full name string like "Ian Robert Smith" in to a separate output of First Name and Last Name i.e. "Ian" and "Smith" - so that I can use those variables further on in the flow.

I seem to have written a functioning function as using info I can se the information is being split down correctly.

However nothing is being output to the flow.

I was trying to put it out using MAP and struggling...I've set out put to void so I can at least save it for now. But if anyone can point out to me what I need to add to the code to get a useable output of varaibles I can map to other parts of the flow I would be grateful.

  1. void ExtractFirstAndLastName(string Full_Name)
  2. {
  3. nameslist = Full_Name.toCollection(" ");
  4. //info nameslist;
  5. number_names = nameslist.size();
  6. //info number_names;
  7. Last_Name = nameslist.get(nameslist.size() - 1);
  8. First_Name = nameslist.get(0);
  9. info First_Name;
  10. info Last_Name;
  11. return;
  12. }

Thanks for anyone who takes the time to help it is appreciated




                            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