How to set a null value to a field via workflow

Hi there

via the expression in a workflow, how to set the value of a field to null ?

for example, if I have a field called “book_number” of type integer
if the field has a value like 10, how to change the value back to null

Does this help?

@tjerman, unfortunately, no, it converts the empty expression to an empty string like “”
so it wouldn’t set the value to null it sets it to empty string and if we have a number field it will though an error

If you use Any type it should work fine – did the trick for me.
If it doesn’t; screenshot the expressions so we can do some debugging.

@tjerman here you go


the field manager_id is a number

after the expression, I compare the field with different record’s field
and I got this error message
image