Clear String field based on the value of other field
Hello everyone,
We would like to be able to clear a string field (delete whatever has been written and make it empty) when another field (picklist) is changed to a specific value.
While I can empty other types of fields, I noticed that I can't do this for 1. String fields, 2. Multipick lists.
Is there any way, using deluge, to achieve this?
I've tried something like that but with no success:
- void automation.Offboarding_cancel(Int id,String kam_reason)
- {
- newmap = Map();
- newmap.put(kam_reason, null);
- response = zoho.crm.updateRecord("contacts", id, newmap);
- info response;
- }
Any ideas would be greatly appreciated for both scenarios (string field and multipick list).
Thank you,