Hello,
Administration -> entity manager -> your entity -> formula

add code:
ifThen(
status == 'your custom status',...