Adding a department assignment to a project or job using deluge / Flow

Adding a department assignment to a project or job using deluge / Flow

I'm working on getting Zoho People to add the same three departments to each project and job. I'm attempting to use Zoho Flow to accomplish this but there doesn't seem to be a way to add a department via Zoho Flow. Which leads me to create a custom function which isn't working

  1. void test(string RecordID)
  2. {
  3. param_map = Map();
  4. param_map.put("ProjectUsers","507725000099123456");
  5. param_map.put("recordid",RecordID);
  6. response = zoho.people.update("P_TimesheetJobsList",param_map);
  7. }
The record ID is fetched earlier in the workflow passed on this screenshot (not sure if I set this up correctly):

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




                              ご検討中の方