How to use frappe.db. functions in workflow conditions?

Can anyone show me a guide on how to use these functions inside the condition section of workflows?