Error Message with Deluge Workflow

Error Message with Deluge Workflow

Hello everyone, I have this Deluge script that executes whenever another form is successfully submitted:

insert into New_Site_Assessment
[
City=input.City
Homeowner_Email=input.Homeowner_Email2
Homeowner_Name1=input.Homeowner_Name
Homeowner_Phone_Number=input.Homeowner_Phone_Number
Site_Address_Line_1=input.Site_Address_Line_1
Site_Address_Line_2=input.Site_Address_Line_2
State1=input.State
Status="New"
Survey_Booking_Status=input.Booking_Status
Surveyor=input.Surveyor
Client=input.Client1
Zip_Code=input.Zip_Code
]


Surveyor and Client are both User fields (Client for portal users, Surveyor for users). Whenever I try to test it, I keep getting this message:

Error

Error details:
 Error in executing On Add - On Success script
 Due to invalid expressions insert statement is terminated Line:(1)
 Invalid user name found for Client field Line:(1)

How can I resolve this? Any help would be appreciated. Thank you.

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




                              ご検討中の方