Hi Swapneel,
Actually, I meant assigning a NullValue.NULL, like this:
record.setFieldValue(schema.getFieldId(tableName, booleanfield), NullValue.NULL);
And of course, please do not forget to run the ModifyRecordCommand, otherwise there will indeed be no change. Please let me know if this works for you.
Good luck!
Gerwin