Error in Add Record Script
I am trying to create a record automatically in a form 1 by looking at records in form 2 that don't exist in form 1.
I wrote this function (CreateClientIfNotExisting):
Which is called by another iterator form called UpdateClientsFromKYCs as below. But I keep getting the following error:
I don't get any additional info on what the error could be.
Kindly help.
Piyush