Create a event and make it related to custom module

Create a event and make it related to custom module

Hi Zoho Experts,

I am having an issue that I am hoping for a soultion too.

What I am trying do: 
Create an event using a workflow on Status that runs a deluge script (Below) that adds a event to the assigned user in their calendar. When creating the event I would like to add the Related To field and The ID of Custom Module in the event. I am using a custom module (Service Request) that has start and end time fields. 

Problem:
The script below works great at creating the event by does not set the Relate To Field with the Custom module and set the ID of the Service Request for easy reference in the event.

Can anyone tell me how this can be done.


eventNo = zoho.crm.getRecordById("Service_Requests",ID);
crmEventFieldMap = Map();
crmEventFieldMap.put("SMOWNERID",ifnull(eventNo.get("SMOWNERID"),""));
crmEventFieldMap.put("Subject","Automatically created event");
crmEventFieldMap.put("Event_Title","Event with " + event_title + "test");
crmEventFieldMap.put("Description","event_description");
crmEventFieldMap.put("SEID",ID);
crmEventFieldMap.put("SEMODULE","Service_Requests");
crmEventFieldMap.put("Start_DateTime",start_date.toString("yyyy-MM-dd'T'HH:mm:ss'+00:00'"));
crmEventFieldMap.put("End_DateTime",end_date.toString("yyyy-MM-dd'T'HH:mm:ss'+00:00'"));
response = zoho.crm.createRecord("Events",crmEventFieldMap);
info response;
info crmEventFieldMap;