EDIT:
I forgot to mention that my workflow rule Date options that it currently returns NOW()
but i need to check if the user have removed field1__c and field2__c
then set that to be null
otherwise NOW()
I am trying to check a formula value in a workflow rule that will evaluate two fields. A boolean field and a text field, if both are empty then set the value to ''
AND(field1__c = false, ISBLANK(field2__c), '')
error:
Error: Incorrect parameter type for function 'AND()'. Expected Boolean, received Text
IF(AND(NOT(field1__c), ISBLANK(field2__c), NULL, NOW())
and it should be a DateTime type