Custom function to create a new record on custom module

Custom function to create a new record on custom module

Hi,

I created a custom function to create a new record on custom module in zoho crm using zoho integration task. But that doesn't seem to work. Am I missing out anything? Is there any workaround? Here is my code

  1. void workflowspace.insertObject (string objectName ) 
    objectfields = map() ; 
    objectfields .put("Object Name",input. objectName );
    res = zoho.crm.create("CustomModule3" , objectfields ,2 ) ;
Looking for a help.