If I am using a trigger to REMOVE the date from an existing fields when it runs what would i put in the formula field to make it remove the existing date?
I tried this but no go - {
var currentTime = null;
}
Please try trigger of type "Object Script", than use API setField().
I see how I can use that with API but if I wanted to keep the existing trigger I am using now - "Update Field Value" what code would i use to erase the date currently in a date/time field?
Hi, any update on this? I need to update a date to nothing/null but it does not work.
Please see my reply above.
In a object script trigger, place the following code:
(Replace my_object_name w/ integration name of object and replace my_date_field w/ integration name of date field):
rbv_api.setFieldValue("my_object_name", {!id}, "my_date_field", "");