Add record in JobOpenings

Add record in JobOpenings

Hello,

I tired to create new record in Zoho Recruit by using custom function in CRM. My code:

  1. //responseFromBooks = zoho.recruit.createRecord("Invoices","20059929465",invoiceDetails);
  2. responseRecruit=zoho.recruit.getRecordById("JobOpenings", 1710000000083151);
  3. //info responseRecruit;
  4. mapa=map();
  5. mapa={"Posting Title":"Testowa z  CRM 2","DEPARTMENTID":"1710000000069134"};
  6. emailAlert = true;
  7. duplicateCheck = false;
  8. response = zoho.recruit.addRecord("JobOpenings", mapa);
  9. info response;
New JobOpening had created but I received message like this below and I want to ask what could be a reason of this situation

Execution Failed
Error details:
Error in executing Untitled_Function3 workflow.
Error.
Error in executing Set Variable task. Unable to update template variable response.
Error evaluating MAP expression :