Updating Task Owner on Zoho Projects via Zoho Desk using Zoho Flow

Updating Task Owner on Zoho Projects via Zoho Desk using Zoho Flow

Hi, as stated in the title, I'm trying to update Zoho Project tasks via Zoho Desk using Zoho Flow.

  1. map setTaskOwner(int userID, int projectID, int taskID)
  2. {
  3. url = "https://projectsapi.zoho.com/restapi/portal/****/projects/" + projectID + "/tasks/" + taskID + "/";
  4. // if(userID == null)
  5. // {
  6. // userID = 0;
  7. // }
  8. response = invokeurl
  9. [
  10. url :url
  11. type :POST
  12. parameters:{"person_responsible":userID}
  13. connection:"zoho_desk_connection"
  14. ];
  15. return response.toMap();
  16. }

It gets completed on Zoho Flow history but the change doesn't reflect on the Zoho Project task, I have two other Zoho Flow, for adding time entry and updating task status and both work. 

Not sure why this one just doesn't, I've been trying to add a return response just so I could debug it but it's been empty, I tried using string (response.toString()) and this one .toMap() but the output is still empty



Please let me know if anyone has any idea what the issue could be.

Thank you very much